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

    OpenVPN Gateway replaces default gateway when it comes up

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 2.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.
    • K
      killnine
      last edited by

      Hey guys. I looked for this specific problem and found nothing on it. Its possible my google-fu is weak recently so forgive me if it was posted before.

      So I got an OpenVPN provider to give me an american IP for netflix. Making it a gateway on OPT1 works great so all is well ,except that (following the setup instructions for StrongVPN) all my traffic wants to go through my gateway. I actually had to make a rule that all traffic that != a list of IPs would go out the normal WAN gateway. I tried to set a priority to the gateways, but you can only do that with a GW group as far as I can see. Can anyone give me some insight or things to look at? Don't worry about dumbing it down.

      EDIT: I forgot to mention the checkbox for default gateway is set on my WAN gateway and confirmed NOT checked on my OPT1 interface GW

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        That's because StrongVPN is pushing you a default route. You can override that.
        http://forum.pfsense.org/index.php/topic,36155.msg186479.html#msg186479

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

          @cmb:

          That's because StrongVPN is pushing you a default route. You can override that.
          http://forum.pfsense.org/index.php/topic,36155.msg186479.html#msg186479

          Thanks for the reply! I tried the route-nopull added to the optional for my tunnel, but it didn't make a difference. I still need to make a statement in the lan rules to force anything that isn't meant for netflix goes to the WAN gw. Any other ideas?

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            That should do it (though can't say I've tried it, don't have a StrongVPN account, but that option works in general). What do your OpenVPN logs look like when you connect?

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