Find the answer to your Linux question:
Results 1 to 9 of 9
I am trying to set up a server on an old 1998 Compaq desktop, now running Debian, and so far the software is working fine, but am having some trouble ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    11

    Port Forwarding Problems


    I am trying to set up a server on an old 1998 Compaq desktop, now running Debian, and so far the software is working fine, but am having some trouble getting my router configure so that computers outside of my LAN can access it. My router has one IP address that all the local address use, and I have tried to forward port 80 for http and port 22 for ssh, and I still can't access either from outside the LAN. Also the sites that check for open ports say that both of those ports are still closed. Any ideas of what I could do to fix this. Have googled for days with no avail.

    Thanks.

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    Do you have the instruction manual for your router? If not, you
    can probably find it on the net. Depending on the brand and model,
    port forwarding may be called by various names, and the config
    can be confusing.

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Posts
    11
    Well I have done that much, I think. Here's a screenshot of my router port forwarding page. This is what I have tried, and what I've read should work, but it still doesn't seem to let anything through.

    Capture.jpg

    If you can see that, I don't know how to make it bigger

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2011
    Posts
    11
    Like I have the ports supposedly forwarded in the router, just nothing seems to think they are actually open...

  6. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Sorry I cannot read the picture you attached. Do you have a firewall running on the system?
    What router are you using? Make and model please.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  7. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Run a scan on the router, too, to see if the ports themselves have actually been opened, e.g.:
    Code:
    nmap -n <ROUTER_IP_ADDRESS>

  8. #7
    Just Joined!
    Join Date
    Sep 2011
    Posts
    11
    I am not sure if the system has a firewall, I installed Debian off there small install disk and included features such as a web server and mail server and such, I looked to see if it had a default firewall but didn't find much. I am using a Linksys E10000 router.

    Here's the result of the nmap command run from the server using the ip address my router says is assigned to it.

    Starting Nmap 5.00 at 2011-09-23 15:14 CDT
    Interesting ports on <ip address>:
    Not shown: 997 closed ports
    PORT STATE SERVICE
    22/tcp open ssh
    80/tcp open http
    8080/tcp open http-proxy

    Nmap done: 1 IP address (1 host up) scanned in 1.23 seconds

  9. #8
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Pulled this out of the Knowledge Base

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  10. #9
    Just Joined!
    Join Date
    Nov 2011
    Posts
    1
    Hi kateus
    I was wondering if you managed to fix this issue and if you did what was the fix.

    I've got a similar issue trying to make my Linux server available from outside my Network, the annoying thing is if I port forward to a PC it works fine.
    I have a BTHomeHub and I'm running Fedora 15 with Tomcat6 which is viewable from the internal IP 192.etc etc.

    Any help would be much appreciated

Posting Permissions

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