1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Problem with accessing we server outside the LAN

Discussion in 'Networking' started by associates, Jan 7, 2013.

Thread Status:
Not open for further replies.
  1. associates

    associates Thread Starter

    Joined:
    Jan 16, 2007
    Messages:
    17
    Hi,

    I'm having a problem with my new modem router I just bought recently - billion bipac 7800N. The problem is I can surf the net and access to my website internally on my LAN, but not when outside of the network.

    By the way, I'm hosting my own web server. The way I got this done is through the use of subnet 8 static IP addresses serviced from my ISP provider.

    Anyway, here is my network topology

    My modem router - billion 7800N is connected with both my web server machine and a router Netgear FVS318 which connects all my PCs on the LAN network.

    My modem router is assigned with IP address of say 121.35.2.21
    My web server is assigned with 121.35.2.23
    My Netgear router is given with 121.35.2.24
    After configuring my new modem billion 7800N with the right settings given by my provider, I got my Internet working from my laptop which has static IP address of 121.35.2.22 at the office. I was able to open my website with no problems. I thought all was all right.

    When I was at home, I happen to check again to see if I can access to my web server but to my surprise, I could not get my webpage loaded on my Firefox.

    Now, I have done port forwarding through port mapping under the virtual server in billion 7800N to let port 80 through to 121.35.2.23.
    I have also disabled the NAT on my billion and left the NAT on the Netgear router enabled. Usually from my experience, this should work.

    I must tell you though that my web server runs on Ubuntu server 12.08 which is set up with iptables.

    So I have run out of ideas as to how to solve this problem.

    Any help would be greatly appreciated.

    Thank you
     
  2. zx10guy

    zx10guy Trusted Advisor Spam Fighter

    Joined:
    Mar 30, 2008
    Messages:
    6,294
    Since you have IPTABLES set up on your web server, did you set it up to allow port 80 traffic to pass through? Did you set up the web server to have a default gateway of your 7800N which is 121.35.2.21? How are all the devices connected to the 7800N? Via LAN ports on the 7800N or with an external switch?
     
  3. associates

    associates Thread Starter

    Joined:
    Jan 16, 2007
    Messages:
    17
    Thank you for your reply.

    Since you have IPTABLES set up on your web server, did you set it up to allow port 80 traffic to pass through?
    Yes, I have set port 80 for both IG_TCP_CPORTS and EG_TCP_CPORTS

    Did you set up the web server to have a default gateway of your 7800N which is 121.35.2.21?
    Yes, in my /etc/network/interfaces, I have defined "gateway 121.35.2.21"

    How are all the devices connected to the 7800N? Via LAN ports on the 7800N or with an external switch?
    I have two devices connected to this modem 7800N via LAN ports (as there are 4 LAN ports and one EWLAN comes with this 7800N) - One is the web server itself and the other one is Netgear Router FVS318v3. All my local PCs are connected straight to this router.

    Please let me know if you need other info you need to help me.

    Thank you
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1084120

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice