Port Forwarding Revisited using IPTABLES

Discussion in 'Tomato Firmware' started by mikester, Mar 25, 2008.

  1. mikester

    mikester Network Guru Member

    Here's what I want to do:

    Prevent users on a small business network from bypassing my router's DNS via static IP settings.

    How? By capturing Port 53 requests to external IP's and forwarding them to my router.

    User makes request to port 53
    Capture and forward request to port 53

    I can already forward by IP - I don't want to have long lists of IP forwards - I want to capture the port, not the IP.

    Any ideas on making this work?
  2. lexluthor

    lexluthor Network Guru Member

    Well, I just started with Tomato and have been doing a lot of reading, so forgive me if I'm wrong, but I think the Intercept DNS Port on this screen
    does exactly what you are looking for.
  3. mikester

    mikester Network Guru Member

    Very cool...now how do I manually do that with IPTABLES? I want to try this on an IPCOP box...
  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