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

What are these default forwarded ports for?

Discussion in 'Tomato Firmware' started by Jason404, Feb 19, 2012.

  1. Jason404

    Jason404 Addicted to LI Member

    I have set up my Tomato router to use a different IP network (172.29.111.0/25), with the router's IP address set to 172.29.111.1, for a couple of reasons (mainly much reduced chance of conflicts with connected VPNs).

    When I look at the Port Fowarding > Basic section of the web interface, I see this:

    [​IMG]

    • What are these default forwarded ports for?
    • What is the 1.1.1.0/24 network?
    • What is at 192.168.1.2? Is it the wireless AP?
    • Should I be changing these entries to reflect the network I have changed to, or should I just delete them?
    • What is that error? iptables-restore: line 46 failed
    Thanks for any help.
     
  2. alfred

    alfred Networkin' Nut Member

    That's just an easy understanding example/tutorial for anyone who is new to Tomato, so it's nothing.
    Once you have deleted them all, and correctly set according to your subnet, then the error message disappeared.
     
    Jason404 likes this.
  3. shadowken

    shadowken Networkin' Nut Member

    Those forwarded ports are just an example that show you how to forward ports , as you can see those ports aren't enabled and you can delete them .
     
    Jason404 likes this.
  4. Jason404

    Jason404 Addicted to LI Member

    Thanks for the replies. Makes sense now.

    However, I have now deleted those example rules, but I still get the error message, although the line number has changed:

    iptables-restore: line 38 failed

    What can I do about this?
     
    kthaddock likes this.
  5. kthaddock

    kthaddock Network Guru Member

    Have you reboot your router ? And don't forget to change all other ip-range to fit your B-network !!!

    Use this clases in your lan, which you are using:
     
    Jason404 likes this.
  6. Jason404

    Jason404 Addicted to LI Member

    Duh, I didn't think rebooting would have been necessary, with it being Linux. Thanks.

    I'm not sure why you told me to use those IP ranges though, as I am, aren't I? 172.29.111.0/25
     
  7. kthaddock

    kthaddock Network Guru Member

    Ofcause it necessary ! When you reboot all firewall rules rebuild, especially when you change router main ip.
    Then you have to change, to fit new ip-range: Dhcp, portforwarding to mention some of them.
    Maximum active DHCP leases default is 255.
    172.29.111.0/25 = 172.29.111.0 - 172.29.111.127
     
    Jason404 likes this.
  8. Planiwa

    Planiwa LI Guru Member

    FWIW,

    1. If one does want to know what line 38 says, one can look in /etc/iptables.
    One way: sed -n 38p /etc/iptables

    2. The examples are not active. They are helpful documentation. There is no need to erase documentation just because one has no use for it now. Doing so will certainly not fix any problems.

    3. One way to restart the firewall: service firewall restart
     

Share This Page