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

    Stupid question: does pfSense filter the VPN tunnel?

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 3 Posters 2.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.
    • panzP
      panz
      last edited by

      Scenario: I'm using a VPN provider from a Windows 7 machine connected to my home LAN.

      How does pfSense inspect this VPN traffic?

      I'm asking because - if I understand VPN principles correctly - my "side" of the OpenVPN tunnel should end directly into my Windows machine.

      Thanks.

      pfSense 2.3.2-RELEASE-p1 (amd64)
      motherboard: MSI C847MS-E33 Micro ATX (with Intel Celeron CPU 847 @ 1.10 GHz) ~ PSU: Corsair VS350 ~ RAM: Kingston KVR1333D3E9S 4096 MB 240-pin DIMM DDR3 SDRAM 1.5 volt ~ NIC: Intel EXPI9301CTBLK (LAN) ~ NIC: D-Link DFE-528TX (CAM) ~ Hard Disk: Western Digital WD10JFCX Red ~ Case: Cooler Master HAF XB ~ power consumption: 21 Watts.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        The usual behavior would be that your router (pfSense) will only see the connection to your VPN provider.  Traffic in the tunnel will be encrypted and unavailable to pfSense for filtering.  The only choice pfSense has is whether or not to allow, say, UDP 1194 (OpenVPN) to enter the LAN port and how to forward it on its way.

        From your description it's kind of hard to tell exactly where pfSense is in the topology.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          You could have PFSENSE connect via VPN instead of the windows machine.  Then the traffic could be filtered.

          Otherwise, I hope you trust your VPN provider (-;

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            He might be asking the opposite.  When I OpenVPN into my home network from behind certain pfSenses/ASAs I don't want them to be able to inspect/filter my traffic.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              And there is that - Lets see what he is actually asking then…

              1 Reply Last reply Reply Quote 0
              • panzP
                panz
                last edited by

                I'm asking if I'm protected by the firewall rules when I use my VPN provider from a machine inside my LAN.

                Port 1194 doesn't matter (as someone mentioned it), because pfSense's OpenVPN server isn't involved in this kind of connection (in fact it isn't neither configured nor started).

                pfSense 2.3.2-RELEASE-p1 (amd64)
                motherboard: MSI C847MS-E33 Micro ATX (with Intel Celeron CPU 847 @ 1.10 GHz) ~ PSU: Corsair VS350 ~ RAM: Kingston KVR1333D3E9S 4096 MB 240-pin DIMM DDR3 SDRAM 1.5 volt ~ NIC: Intel EXPI9301CTBLK (LAN) ~ NIC: D-Link DFE-528TX (CAM) ~ Hard Disk: Western Digital WD10JFCX Red ~ Case: Cooler Master HAF XB ~ power consumption: 21 Watts.

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  Nope - Your VPN will cut through your pfsense like a hot knife through butter.  Once you are using a machine inside the LAN running vpn client, the vpn server and any other clients connected to that server and anyone with access to the server or one of the clients or anyone who has hacked into the server or any of the clients on that server potentially have access to your LAN freely.

                  So, like I said before, hope you trust your VPN server.

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