1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Port forwarding on device running behind NAT?

Discussion in 'Tomato Firmware' started by wetwilly, Nov 6, 2009.

  1. wetwilly

    wetwilly Addicted to LI Member

    My ISP just updated my DOCSIS service to 100/10 Mbit shipping it with a Netgear CG3100:

    http://www.netgear.com/Products/RoutersandGateways/RangeMaxWirelessNRoutersandGateways/CG3000.aspx

    As this modem/router has Gigabit LAN and my Linksys WRT54GL(running Tomato) cannot handle 100mbit throughput I want to connect my computers to the Netgear to get maximum performance. I still want to run certain services on the Tomato such as DHCP and Port Forwarding. DHCP is working fine but port forwarding seems broken (e.g. not forwarding).

    On the Netgear modem I have disabled DHCP and enabled DMZ to the Tomato IP.

    On the Tomato I have disabled WAN(does this also disable port forwarding?), added 10.0.1.2 as default gateway, enabled NAT loopback: All

    This is how the network is connected:
    [Netgear modem (10.0.1.2)]<->[Gigabit switch]<->[WRT54GL (10.0.1.1)]

    Then some computers are connected straight into the modem, others into the switch. The network is working fine except for port forwarding.

    Is this even a possible setup? Maybe all port forwarding needs to be done at the gateway?
     
  2. ifican

    ifican Network Guru Member

    port forwarding is wan to lan
     
  3. wetwilly

    wetwilly Addicted to LI Member

    Yes, but I want wan to lan(dmz) to other hosts.

    Like forwarding the ports on second host behind NAT.

    Packet filtering I think its called.
     
  4. ntest7

    ntest7 Network Guru Member

    Do all your port forwarding at the gateway.
     

Share This Page