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

    Openvpn against expressvpn tutorial video and a question about routing

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.4k 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.
    • I
      ivarh
      last edited by

      Hi all I have created a video showing how to set up a openvpn gateway to use policy based routing against a expressvpn server.

      Everything is working fine except one small thing. ip traffic from the pfsense server itself is routed through the vpn. Is there any way to prevent this from happening?

      For those wanting to have a look at the video here is the link: https://youtu.be/dOukRmaP6-I

      I apologize for the bad soundtrack as it was made in the middle of the summer and my AC was broken at the time so I used a small fan to cool me down :)

      -Ivar

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

        On your client config select the Don't pull routes checkbox.  Notice in your logs that ExpressVPN is pushing a default route to you.  Checking the Don't pull routes checkbox will add route-nopull; to your configuration.

        You will then be in complete control of what traffic is sent to the VPN using policy routing.

        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
        • I
          ivarh
          last edited by

          Thanks a bunch. That did the trick.

          -Ivar

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