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

    WAN(local network) to lan pfsense

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 728 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.
    • B
      bvohwk
      last edited by

      Hi,

      my pfsense is on a local network up and running, this other router(fritzbox) giving the wan ip adres to pfsense (192.168.178.10) on my computer also getting its ip adres from the fritzbox with ip(192.168.178.20) is able to connect to the lan on pfsense with iprange 10.100.100.** this true a a firewall rule in the wan area.

      On the lan from pfsense there is a proxmox server running for testing and learning. this ip adres is 10.100.100.05 connecting to that on port8006 is also working.

      pihole an application running on proxmox has its ip from proxmox 10.100.100.6

      how to set pfsense to make it possible to access directly from the wan ip range to pihole on de lan on pfsense

      so how to set the pfsense rules to make it possible to go from the browser on the laptop(192.168.178.20) to the webinterface pihole on(10.100.100.6)

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @bvohwk
        last edited by

        @bvohwk You can create a NAT rule with a source of WAN Net (any port) to forward the port(s) desired to your server on pfSense LAN.

        https://docs.netgate.com/pfsense/en/latest/nat/port-forwards.html

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        B 1 Reply Last reply Reply Quote 1
        • B
          bvohwk @SteveITS
          last edited by

          @steveits

          That is already set.

          Connecting from the laptop on the (wan) with ip 192.168.178.*** to proxmox itself on the lan(10.100.100.***:8006 in pfsense is working.

          Also a rule is made on the wan to allow wan net to any

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @bvohwk
            last edited by

            @bvohwk said in WAN(local network) to lan pfsense:

            Also a rule is made on the wan to allow wan net to any

            This is not needed for the NAT rule to work, and it will allow any device in the WAN network to connect to the pfSense web GUI (and DNS, and SSH if enabled). On an Internal network that may not be so bad but if WAN was a public IP address I would strongly advise against it.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

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