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

Allowing ONE port to internet.

Discussion in 'Tomato Firmware' started by MiseryQ, Jan 8, 2007.

  1. MiseryQ

    MiseryQ Network Guru Member

    There's one computer on the network that I like to block ALL acces to the internet. Kids have a way of downloading LOTS of spyware.

    I sometimes use this computer as a game server.
    How do I block all internet access except port 3333?

  2. kbisanz

    kbisanz LI Guru Member

    I haven't tried this, so I'm only guessing that this will work.

    Go to "Access Restrictions" and add a new rule.

    To block the single computer, enter either its IP or MAC address under the "Applies To" section.

    To block all but the single port, do the following. Under "Blocked Resources" uncheck "Block All Internet Access". Then from the settings which appear, you can choose what ports you want restricted. I believe you'll want TCP/UDP, Src Port, and "0-3332,3334-65535" for the src ports. Click "Add" then click "Save" and wait a couple seconds for it to take effect. You can easily turn the rule on/off by checking the "Enabled" check box at the top.

    If that doesn't work, you might have to mess around with some settings, but the above should be pretty close. Others might know better ways to accomplish this.
  3. MiseryQ

    MiseryQ Network Guru Member

    Very Simple. Very effective. Thanks it works.
    Just had to change "0-3332" > "1-3332" Tomatos don't like port 0.

Share This Page