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

    I am using a openvpn client and server, I can not "force all client-generated traffic through the tunnel" or set my dns to my router ip without it failing

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 547 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.
    • H
      heeba
      last edited by

      I am using a openvpn client and server, I can not "force all client-generated traffic through the tunnel" or set my dns to my router ip without it failing. If I set dns as cloudfare I can connect to my Local network and ssh, but my vpn client does not forward through the server I am connected to ?

      Pf WAN 192.168.1.100/24
      Pf LAN 192.168.10.1/24
      Pf server Tunnel Network 192.168.70.0/24
      Remote user auth
      Disabled tls
      Allowed inter client communication

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        DNS is likely because you need to add the VPN client subnet to the ACLs tab in the DNS resolver.

        Internet traffic through the VPN could be failing due to your firewall rules on the OpenVPN tab or your outbound NAT settings.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        H 1 Reply Last reply Reply Quote 0
        • H
          heeba @jimp
          last edited by

          @jimp What rule should i add ?

          1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            https://www.netgate.com/resources/videos/openvpn-as-a-wan-on-pfsense.html

            -Rico

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