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

    pFsense with OpenVPN filter navigate with proxy

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 425 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.
    • ?
      A Former User
      last edited by A Former User

      Hi, i have configure pfsense with openvpn with roadwarrior mode this have a tcp connection in 7443 port all work fine, but my question is, as how can filter the navigate of users to internet, when the access of my user is page denied in my Lan by squidguard. I need that all connection that make the vpn user be filtered by the modules of security (squid, squiguard, pfblocker). I hope your help.

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

        Assign the OpenVPN server as an interface. Select that interface in Squid.

        Same in pfBlocker if you're using it's auto added rules. Or add the aliases to the rules for traffic coming in on the VPN manually if not.

        Steve

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          Hi, i have only two interface and i select the WAN interface for the VPN, also i configure this with tcp port 7443 in this connection, how can filter or i need create a routed for filter the connection by proxy and pfblocker.

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

            If you need to do it transparently you need to set Squid to listen on the OpenVPN interface so it adds the required port forwards.

            To do that you need to assign the OpenVPN server as an interface:
            Selection_829.png

            Enable the new interface, rename it if you wish. Then you can select it in Squid.

            Steve

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