Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Restrict internet traffic to given ports

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 904 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      infoname
      last edited by

      Hi guys,
      sorry if it was already discussed but I didn't find it on the forum, so my apologies.

      I'm trying to restrict internet traffic on my LAN, but I have some problems on port 80.
      I wrote the following rule in the LAN tab:

      TCP "LAN net" * * ALLOWED_TCP_PORTS * none

      where "ALLOWED_TCP_PORTS" is an alias for 443,80,2095

      Well, the 443 and 2095 works like a charm, but the 80 no!
      I can't reach any website on port 80, only 443 (HTTPS).
      If I rewrote the rule as:

      TCP "LAN net" * * 80 * none
      it still not works.

      Sniffing the traffic I saw that I correctly resolve the DNS name and then send the SYN packet to the website on port 80…but I never get the website packet back so I cannot connect to.

      If need other info please let me know,
      Thank you

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy