Close

Results 1 to 11 of 11
  1. #1
    DF VIP Member bugnote's Avatar
    Join Date
    Jan 2001
    Location
    tut north
    Posts
    1,286
    Thanks
    64
    Thanked:        63
    Karma Level
    410

    Default Web Server behind a NAT Router?

    I'm trying to run a basic apache server on my computer.
    Apache is running and working, localhost etc
    Router port forwarding is on, port 80 forward to my allocated ip 192.168.0.2

    but I can't access the computer from over the internet using my dynamic IP given by the ISP.

    any thougths.....I've tried with norton firewall disabled aswell, so t's not that.

    cheers

    Bug

  2. #2
    DF VIP Member SpArKy's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    222
    Thanks
    0
    Thanked:        0
    Karma Level
    284

    Default good post

    i have a similar problem with port forwarding using several port forwarding apps, eg ip_relay

    It allows ssh connections using the static external ip address
    however when connecting to ftp it connects but then fails opening the utp port on destination.

    Cant figure it out at all, this is the current setup

    Internet --> winxp box --> rh8.0 server

    I have managed to setup a port forwarder on port 22 for ssh connections with an app called ip_relay available at download.com
    To enable this forwarder i just used this command:

    ip_relay 3000 192.168.0.122 22

    where 3000 is port running on winxp box
    192.168.0.122 is the linux box ip
    and 22 is destination port on linux box


    The above works fine however i now want/need another forwarder to forward incoming connections from say port 8000 on winxp box (using internet link ip address [static]) to port 4000 on the linux box which is port for an ftp server.
    I tried using the following without success

    ip_relay 8000 192.168.0.122 4000

    It connects to the linux box as flashfxp says that its conncected but then it just hangs and eventually times out. Also ip_relay then displays the following msg.
    "Unable to connect UDP port" (or words to that effect)

    Was wondering if any1 ever came across this or any ideas why it might happen, btw running glftpd server on the linux box.
    And i also know it would be "better" to run the linux box as the first on the link but for personal reasons its not possible.

    Any help with this topic much appreciated.
    l8rZ SpArKy

    P.S i would of made a new topic but it seems to relate to the original post made.
    Last edited by SpArKy; 13th March 2003 at 02:03 PM.
    It's better to reign in hell, than serve in heaven!

  3. #3
    DF MaSter merlinL14's Avatar
    Join Date
    Feb 2001
    Location
    Merseyside
    Posts
    74
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default

    The ip range 192.xx.xx.xx and 10.xx.xx.xx is not a recognised ip for internet connection. This range is reserved for LAN (local) operation, most isp's and i-servers will when presented with this ip range attempt to transport it over the internal LAN system that it sits on where it will get blocked and therefor it will not get broadcast over the internet.

  4. #4
    DF VIP Member Pegasus's Avatar
    Join Date
    Jan 2002
    Location
    Hampshire
    Posts
    4,620
    Thanks
    13
    Thanked:        52
    Karma Level
    624

    Default

    Originally posted by merlinL14
    The ip range 192.xx.xx.xx and 10.xx.xx.xx is not a recognised ip for internet connection. This range is reserved for LAN (local) operation, most isp's and i-servers will when presented with this ip range attempt to transport it over the internal LAN system that it sits on where it will get blocked and therefor it will not get broadcast over the internet.
    That's why routers have port forwarding (a.k.a NAT).
    Understeer is when you hit a wall with the front of your car
    Oversteer is when you hit the wall with the back of your car
    Horsepower is how fast your car hits the wall
    Torque is how far your car sends the wall across the field once you've hit it

  5. #5
    DF MaSter merlinL14's Avatar
    Join Date
    Feb 2001
    Location
    Merseyside
    Posts
    74
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default

    That's why routers have port forwarding (a.k.a NAT).
    No shit sherlock!

    My reply was to try to explain a reason as to why the ip he has selected will not transport, not to try and be a smart arse. And any NAT transport will not work with 192.xx.xx.xx or 10.xx.xx.xx it will allocate a new ip, which is the one he should use for remote access.

  6. #6
    DF VIP Member bugnote's Avatar
    Join Date
    Jan 2001
    Location
    tut north
    Posts
    1,286
    Thanks
    64
    Thanked:        63
    Karma Level
    410

    Default

    so wht should I do then?
    if port forwarding to port 80 on 192.168.0.2 that has the server running on it doesn';t work?
    ntl dont block port 80 do they?
    I'mnow seriously confused...

    cheers

    Bug

  7. #7
    DF VIP Member Pegasus's Avatar
    Join Date
    Jan 2002
    Location
    Hampshire
    Posts
    4,620
    Thanks
    13
    Thanked:        52
    Karma Level
    624

    Default

    Originally posted by merlinL14
    No shit sherlock!
    Obviously politeness isn't one of your stronger points, so just for you I will drag myself down to your level.



    And any NAT transport will not work with 192.xx.xx.xx or 10.xx.xx.xx it will allocate a new ip, which is the one he should use for remote access.
    What a load of bollock$, the very idea of NAT is to translate the external IP address to the internal one (that's why it is called port forwarding).
    Feel free to come back when you have read Bugnote's post in full and you actually know what you are talking about.
    In the meantime, get back behind the counter and keep those burgers coming, because it's obvious from the above statement you know fcuk all about networking.



    EDIT:
    Bugnote, what router do you have?
    Last edited by Pegasus; 14th March 2003 at 09:23 AM.
    Understeer is when you hit a wall with the front of your car
    Oversteer is when you hit the wall with the back of your car
    Horsepower is how fast your car hits the wall
    Torque is how far your car sends the wall across the field once you've hit it

  8. #8
    DF VIP Member bugnote's Avatar
    Join Date
    Jan 2001
    Location
    tut north
    Posts
    1,286
    Thanks
    64
    Thanked:        63
    Karma Level
    410

    Default

    thanks for the discussions guys, i've got a rp614 Netgear 4 port router...

    did a bit more diggin last night, there's a good tips guide on no-ip's website....

    anyway, I did the old 'turn it off, turn it on again' chestnut, and its working fine now.....(the router and CM that is)

    funny old things computers aren't they!

    cheers

    Bug

    P.S. Router has latest firmware, port forwarding 80 to my local IP, works fine, just as it should.

  9. #9
    DF VIP Member Pegasus's Avatar
    Join Date
    Jan 2002
    Location
    Hampshire
    Posts
    4,620
    Thanks
    13
    Thanked:        52
    Karma Level
    624

    Default

    Originally posted by bugnote
    anyway, I did the old 'turn it off, turn it on again' chestnut, and its working fine now.....(the router and CM that is)
    Bugnote, whenever you make changes like that you always have to restart the router so those changes can be implemented (that applies to ANY router).
    Anyway, glad it's working.
    Understeer is when you hit a wall with the front of your car
    Oversteer is when you hit the wall with the back of your car
    Horsepower is how fast your car hits the wall
    Torque is how far your car sends the wall across the field once you've hit it

  10. #10
    DF MaSter merlinL14's Avatar
    Join Date
    Feb 2001
    Location
    Merseyside
    Posts
    74
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default

    Oh! So now you are offering help.
    ROTFLMFAO.

  11. #11
    DF VIP Member Pegasus's Avatar
    Join Date
    Jan 2002
    Location
    Hampshire
    Posts
    4,620
    Thanks
    13
    Thanked:        52
    Karma Level
    624

    Default

    Originally posted by merlinL14
    Oh! So now you are offering help.
    ROTFLMFAO.
    I suppose somebody had to because if he listened to you then he would never have got it working.
    Understeer is when you hit a wall with the front of your car
    Oversteer is when you hit the wall with the back of your car
    Horsepower is how fast your car hits the wall
    Torque is how far your car sends the wall across the field once you've hit it

Similar Threads

  1. BT 5861 Router for Sale
    By furryboo in forum Buy, Sell and Trade
    Replies: 4
    Last Post: 11th September 2002, 01:52 PM
  2. Help! with mail server
    By qui~Gon in forum PC Software
    Replies: 4
    Last Post: 9th September 2002, 12:37 PM
  3. Cheap Router ???
    By krazed in forum Cheapskates Corner
    Replies: 3
    Last Post: 8th September 2002, 08:23 PM
  4. Setting up a web server at home...?
    By bugnote in forum Web Hosting & Domain Names
    Replies: 4
    Last Post: 30th August 2002, 11:21 AM
  5. NTL's POP3 e-mail server
    By {film_man} in forum Internet Connections & VPNs
    Replies: 2
    Last Post: 29th August 2002, 11:50 AM

Social Networking 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
  •