Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I can connect from local, but from outside i can

  1. #1
    Join Date
    Dec 2005
    Beans
    9

    Unhappy I can connect from local, but from outside i can

    I have a problem. I can connect to remote computer with external IP from the outside but not from LAN. I can ping this external IP from all computers that are not from LAN.
    Can you advise what to do with it? Thanks in advance for advice?

  2. #2
    Join Date
    Jul 2006
    Location
    Denton, TX, US
    Beans
    1,355
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: I can connect from local, but from outside i can

    All the terminology is great, but unless you use it properly and in a very specific and detailed way, then it's just downright confusing.

    What exactly are you trying to do? What exactly is your network setup? In what situations (if any) do you have the connectivity you want? Do you have all appropriate ports forwarded on your router (if applicable)?

  3. #3
    Join Date
    Dec 2005
    Beans
    9

    Re: I can connect from local, but from outside i can

    This will help to clarify?

    computer#A
    external IP: 195.168.63.162
    mask: 255.255.255.248
    default gw: 195.168.63.161
    DNS: 195.168.1.2 and 195.168.1.4


    computer#B
    IP: 192.168.252.57
    mask: 255.255.255.0
    default gw: 192.168.252.1
    DNS: 195.168.1.2 and 195.168.1.2

    My problem is, that I cant connet/ping computer#B from computer#A

  4. #4
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: I can connect from local, but from outside i can

    Does computer A have a direct connection to the internet, or is there a router between computer A and the internet?

  5. #5
    Join Date
    Dec 2005
    Beans
    9

    Re: I can connect from local, but from outside i can

    Quote Originally Posted by dmizer View Post
    Does computer A have a direct connection to the internet, or is there a router between computer A and the internet?
    The sequence from computerA is as follows:
    computerA -> router -> Internet


    The sequence from computerB is as follows:
    computerB -> switch -> router -> Internet


    To help it?

  6. #6
    Join Date
    Dec 2007
    Beans
    1,042
    Distro
    Ubuntu Karmic Koala (testing)

    Re: I can connect from local, but from outside i can

    Do you have any ports open?

    (I can't ping you either. Sorry, but I couldn't resist.)
    He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself.
    -Thomas Paine

  7. #7
    Join Date
    Oct 2008
    Location
    colachel
    Beans
    517
    Distro
    Ubuntu 13.10 Saucy Salamander

    Smile Re: I can connect from local, but from outside i can

    Hi

    Check the following

    nmap 195.168.63.162
    nmap 192.168.252.57

  8. #8
    Join Date
    Dec 2005
    Beans
    9

    Re: I can connect from local, but from outside i can

    Quote Originally Posted by MaxIBoy View Post
    Do you have any ports open?

    (I can't ping you either. Sorry, but I couldn't resist.)
    sorry but I do not know this. How to find? The problem is that my router managed provider.

  9. #9
    Join Date
    Oct 2008
    Location
    colachel
    Beans
    517
    Distro
    Ubuntu 13.10 Saucy Salamander

    Smile Re: I can connect from local, but from outside i can

    Hi

    Install the nmap tool and check whether any ports are in closed state..........

    Installing nmap

    #apt-get install namp

  10. #10
    Join Date
    Dec 2005
    Beans
    9

    Re: I can connect from local, but from outside i can

    #nmap 192.168.252.57 -PN

    Not shown: 1711 filtered ports
    PORT STATE SERVICE
    135/tcp open msrpc
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds
    3389/tcp open ms-term-serv


    and

    #nmap 195.168.63.162
    Not shown: 1714 closed ports
    PORT STATE SERVICE
    22/tcp open ssh

    So what now??

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •