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

    Help to secure my network

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 1.1k 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.
    • C
      charlie0440
      last edited by

      Hi,

      I have a basic pfSense network, LAN, WAN & OPENVPN interfaces.

      We have just had a device installed which is currently on the LAN but could be moved to a new interface if required. It is configured with a static IP.
      The device must be secured, it hosts a web server which needs to be accessible on the LAN, or more likely only accessible via an alias "myTrustedDevices". It also ideally needs to be accessible via our 2 OpenVPN roadwarrior clients.

      The device must not be accessible from the WAN and does not need access to the web.

      I am just wondering what is the best way of securing it? Is it enough to create firewall rule as below OR are they not needed as our rules default to "LAN > any", and WAN has rules for openvpn on port 1194 only

      Proposed rules to create:
      WAN interface
      Proto: * Source: , Port:, Destination: Device IP, Port:, Gateway:, Schedule: , Description: Block WAN to IP
      LAN interface
      Proto: * Source: Device IP, Port:
      , Destination: WAN net, Port:, Gateway:, Schedule: *, Description: Block IP to LAN
      Existing rules shown here:

      Is there a more secure way of doing it? Maybe by mac address?

      Any other comments on my rules. Is it safe to have "LAN > any" rule or should I be breaking it down as per https://doc.pfsense.org/index.php/Example_basic_configuration

      Finally is it safe to allow pfsense to accept pings:

      Any help appreciated!

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

        I allow pings,, But I would not put such a rule on my wan… If you want to allow pings to your wan address, then allow that - you have all of icmp any any there..

        And I would not be blocking bogon on your LAN... Why would you set that?  What bogon networks do you think are going to be on your network trying to go to the internet??  Or your other networks??  Doing so is going to cause you some grief because of what is currently included in bogon list.  You want to block it on you wan, sure ok... But lan not a good idea

        allowping.png
        allowping.png_thumb

        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.