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

    VPN gateway and pfSense router

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 3 Posters 1.0k 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.
    • tinfoilmattT
      tinfoilmatt @Antibiotic
      last edited by

      @Antibiotic inbound/return VPN traffic will be received on the WAN interface, passed to OpenVPN for decryption, and then passed back to pfSense where it will be 'processed' and routed accordingly.

      if said decrypted traffic is subject to any shaping policy or offends any IDS/IPS, IP filtering, or DNS blocking, configured action will be taken before the packets are able to egress the WAN interface in the direction of the LAN.

      A 1 Reply Last reply Reply Quote 0
      • A
        Antibiotic @tinfoilmatt
        last edited by

        @cyberconsultants So option one is prefer? Is it correct?

        pfSense plus 24.11 on Topton mini PC
        CPU: Intel N100
        NIC: Intel i-226v 4 pcs
        RAM : 16 GB DDR5
        Disk: 128 GB NVMe
        Brgds, Archi

        tinfoilmattT 1 Reply Last reply Reply Quote 0
        • tinfoilmattT
          tinfoilmatt @Antibiotic
          last edited by

          @Antibiotic if you absolutely need to use this other VPN device but still want to make use of pfSense's security services... then yes, #1 is the best option.

          you're correct that if you put the VPN device before pfSense (#2), then pfSense/Suricata/pfBlocker/etc. would have no way to inspect the encrypted VPN traffic passing through it.

          A 1 Reply Last reply Reply Quote 0
          • A
            Antibiotic @tinfoilmatt
            last edited by

            @cyberconsultants Finally))) Thank's

            pfSense plus 24.11 on Topton mini PC
            CPU: Intel N100
            NIC: Intel i-226v 4 pcs
            RAM : 16 GB DDR5
            Disk: 128 GB NVMe
            Brgds, Archi

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              But, yes, why use two devices for that?

              A 1 Reply Last reply Reply Quote 0
              • A
                Antibiotic @stephenw10
                last edited by

                @stephenw10 I'm bought GLInet 2500A small VPN gateway before and don't have any ideas, how better to use with pfSense)))

                pfSense plus 24.11 on Topton mini PC
                CPU: Intel N100
                NIC: Intel i-226v 4 pcs
                RAM : 16 GB DDR5
                Disk: 128 GB NVMe
                Brgds, Archi

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Well you don't have to use it at all. 😉

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Antibiotic @stephenw10
                    last edited by

                    @stephenw10 Could be but filling yourself that a wasted money, better use it)))

                    pfSense plus 24.11 on Topton mini PC
                    CPU: Intel N100
                    NIC: Intel i-226v 4 pcs
                    RAM : 16 GB DDR5
                    Disk: 128 GB NVMe
                    Brgds, Archi

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Ha! It's running OpenWRT? You could probably run pihole on it or something similar.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Antibiotic @stephenw10
                        last edited by

                        @stephenw10 Yea OpenWRT but 21.02 snapshot officially, dont know why not a last release. You think its possible running pihole on him?

                        pfSense plus 24.11 on Topton mini PC
                        CPU: Intel N100
                        NIC: Intel i-226v 4 pcs
                        RAM : 16 GB DDR5
                        Disk: 128 GB NVMe
                        Brgds, Archi

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          Antibiotic @Antibiotic
                          last edited by

                          @Antibiotic This box officially support AdguardHome in build.

                          pfSense plus 24.11 on Topton mini PC
                          CPU: Intel N100
                          NIC: Intel i-226v 4 pcs
                          RAM : 16 GB DDR5
                          Disk: 128 GB NVMe
                          Brgds, Archi

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            I don't know about pihole specifically by adguard does much the same thing and is in the OpenWRT software repo.

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