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

Route All Windows 10 Traffic Through OpenVPN Connection

OpenVPN
2
3
6.5k
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.
  • E
    ericnix
    last edited by Aug 18, 2018, 8:42 PM

    With OpenVPN software on macOS, there is an option to route all traffic through the VPN.

    I do not see this with the Windows version. I'm running Windows 10 (v1803) and used the OpenVPN installer in the client section of pfSense's OpenVPN.

    Is there a setting that must be switched on (or configured in some way) so that ALL traffic goes through the OpenVPN when connected? I don't want anything going to the internet except what's encrypted via the OpenVPN connection.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Aug 20, 2018, 6:47 PM

      On the server you can check the option to Force all client-generated IPv4 traffic through the tunnel on the server, or in the OpenVPN Client Export package, add redirect-gateway def1 to the Additional configuration options before exporting the configuration to the client.

      You could also open up the client .ovpn configuration file and add redirect-gateway def1 on a new line at the end and then reconnect the VPN.

      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!

      1 Reply Last reply Reply Quote 0
      • E
        ericnix
        last edited by Aug 22, 2018, 4:11 AM

        Thanks. Will definitely give that a try. When I look up my IP address while connecting through the VPN, it lists my home cable modem's IP address. How can I ensure that ALL (I mean everything) is going through the VPN?

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