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

    Not understanding pfsense firewall

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 1.5k 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.
    • M Offline
      mrose
      last edited by

      Hi all,
      I'm new to pfsense as i'm taking over an installation a former it guy did.  I'm trying to open a port so that users can go to a internet site via port 445.  I've tried what has worked on other firewalls like smoothwall but to no avail.

      If I'm in the wrong place, please redirect me.

      thanks!
      ???

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nachtfalke
        last edited by

        Firewall rules work from top to bottom.
        If one rule matches, no other rule will be used.

        If you want that a host/subnet on LAN interface wants to connect to the internet with port 445 and TCP than create a rule on LAN interface on top of all other rules like that:

        action: allow
        interface: LAN
        protocol: TCP
        source IP: any or LAN Subnet or host IP
        source port: any
        destination IP: any or the subnet or IP of the webserver
        destination port: 445

        That's all.

        1 Reply Last reply Reply Quote 0
        • C Offline
          cmb
          last edited by

          There's a good chance you're not going to be able to get port 445 over the Internet, a lot of ISPs will block 135-139 and 445 because they're frequently used Windows worm ports, and their most commonly used purpose (Windows SMB and related) isn't something you should do over the Internet. Your default config most likely allows 445 already on LAN rules.

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