Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NAT Specific Ports

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.2k 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.
    • L
      liamdiaze
      last edited by

      Hi, I'm new in pfsense. I need to allow the next specific ports from my LAN to the WAN interface: HTTP, HTTPS (I have configured squidguard), POP and SMTP. Any other port must be blocked. How can i do that? ???

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        That would not really be nat, other than the normal nat from your private to your public on your wan.

        Are you setup for explicit proxy - ie your browser pointing to the proxy or just transparent.  Which intercepts http/https normally.

        Normally if you just want to allow access to specific ports outbound, you would do that on the lan rules.  Be default the rules are setup to allow anything from lan segment to go to any port outbound.

        You create specific rules to allow http, https, pop, smtp, etc.  And then create a block rule after those that blocks anything else.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.