Find the answer to your Linux question:
Results 1 to 4 of 4
I have two networks 192.168.2.0/24 connected to suse 10.3. The other nic on suse is (wireless) connected to 192.168.1.0/24 on wich is a speedtouch connected to internet. On suse is ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Location
    Amsterdam
    Posts
    3

    Host not visible though two routers

    I have two networks

    192.168.2.0/24 connected to suse 10.3. The other nic on suse is (wireless) connected to 192.168.1.0/24 on wich is a speedtouch connected to internet. On suse is port 10000 forwarded to port 80 on a host on 192.168.2.0/24 and i can connect to this host from 192.168.1.0/24. In the speedtouch I forwarded 2 ports, one to suse:80 and one to suse:10000. I unblocked portrange 1024 thru 65535 in the firwall on suse.

    From internet I can get to apache on suse port 80 but not to the host on port 10000 of suse. I must have missed something somewhere but I don't know what. Or could the speedtouch be having problems with two times nat?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    Maybe I'm confused, but this is the picture I get.
    Suse is acting as a second router behind speedtouch.
    You can access Suse from the net, but not the host that
    is behind it.

    You need to run IP Masquerade (NAT) on Suse to enable the hosts
    behind to use Suse as default gateway. You set this in your iptables rules.

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Location
    Amsterdam
    Posts
    3
    You're not confused, it is what I tried to say.
    I went into YaST, security and users -> firewall -> Masquerading and made there the port forwards. So I am using Masquerading on suse. I also tested the redirected ports of suse alone and this works. It only doesn't seem to work through two routers. I am a bit lost on how to proceed. If i look at portforward.com/help/doublerouterportforwarding.htm i would say it should not be a problem.
    I tried to install ethereal to look at what's happening but failed due to dependencies, i am using suse 10.3.

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Location
    Amsterdam
    Posts
    3
    Think i solved the problem
    i told suse that everything from 192.168.1.0 to port 10000 on suse should be forwarded to the host on 192.168.2.0 port 80. But i should have told it to forward everything from 0/0 to port 10000. Got tethereal compiled wich showed me the problem.
    Thanks for your reply

Posting Permissions

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