Port Forwarding in startupscript

Discussion in 'Tomato Firmware' started by shari, Dec 1, 2006.

  1. shari

    shari LI Guru Member

    I'm using tomato 0.9 in a network, IP-range The router's IP is and if I want to forward some port to any IP different than 172.17.23.* I need to do it manually (the "nice" way is stuck to 172.17.23.* ) . I tried some iptables rules but I cannot get it to work. Please give me some example how to forward any port. Is the port forwarding using nat or some iptables module ?

    Thanks in advance
  2. dvaskelis

    dvaskelis Network Guru Member

    I'm not sure I understand what you're trying to do. If you port forward your external address to another address that's not in your NAT network, where would you be forwarding it to exactly?
  3. Toxic

    Toxic Administrator Staff Member

    I take it you have multiple subnets behind your router? if you want to port forward to a different subnet the you port forward the other routers WAN IP. is this what you mean?
  4. shari

    shari LI Guru Member

    Here 2 Screenshots:

    Netmask is -> IP-range -


    I'm able to portforward only to 172.17.23.* PCs. And I need to portforward to some 172.17.22.* and 172.17.21.*
  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