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

    pfBlockerNG-devel IPv4 whitelist

    Scheduled Pinned Locked Moved pfBlockerNG
    5 Posts 3 Posters 664 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.
    • havastamasH
      havastamas
      last edited by

      Hello all!

      Hope somebody can help me.. I would like to whitelist some IPv4 addresses in pfBlockerNG. How can I do this?

      1 Reply Last reply Reply Quote 0
      • havastamasH
        havastamas
        last edited by

        Forgot something important:
        my problem is: i cant acces any kind of service/host (like openvpn, pfsense webgui) when im using my mobile phone. When im using vpn service (cloudflare), or using wifi, i can acces my services. I think my mobile public ip is blocked when im on mobile data. So i would like to whitelist my mobile public ip, to reach the firewall/openvpn, etc.

        GertjanG 1 Reply Last reply Reply Quote 0
        • NollipfSenseN
          NollipfSense
          last edited by NollipfSense

          Sounds like to need a WAN firewall rule since you're connecting from an IP (mobile public IP) that's not from your LAN.

          pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
          pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @havastamas
            last edited by Gertjan

            @havastamas said in pfBlockerNG-devel IPv4 whitelist:

            So i would like to whitelist my mobile public ip

            That IP address will never stay the same.

            There is only one possibility : set up and activate OpenVPN server on pfSense.
            ( create CA and cert, create a user, set up OpenVPN server, export the user for VPN-client usage - install a VPN client App on your phone, import the settings and go )

            Now you will be able to admin pfSense - and any other device on your LAN(s) network(s) from your Phone, wherever you are on the world. It's the secure way without hassles, exceptions. It just plain works.
            This is the way we all work to access remote devices, firewalls, and other stuff fro anywhere.

            @havastamas said in pfBlockerNG-devel IPv4 whitelist:

            whitelist some IPv4 addresses in pfBlockerNG. How can I do this?

            Go here :

            3f5216b2-7699-460f-a502-0bb63f34a502-image.png

            and go down to

            74dcae95-4d56-4890-a1d8-d381e8564912-image.png

            Read :

            ff8eeb75-b8b2-4572-b1d5-6d4505de2942-image.png

            I advise you have a look at official Netgate :: pfBlockerNG-devel video (Youtube Netgate channel) , you find answers to question that you still have to figure out (your questions will pop up an go away at the same moment ^^)

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense
              last edited by

              Here's the video that Gertjan mentioned: https://www.youtube.co/watch?v=g0KOcfGicjM

              However, if you want to administer your box, I am not sure adding the mobile public IP to whitelist will accomplish what you're seeking without special WAN firewall rule. You could use SSH as per here: https://www.youtube.com/watch?v=lDqRIu2zhoQ
              However, you won't have the WebGUI. So, as Gertjan suggested and recommended, VPN is the best option especially since you already installed OpenVPN.

              pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
              pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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