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

    OpenVPN and setting default gateway on TAP client. (Network Location Awareness)

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 417 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.
    • W
      webstaff
      last edited by

      So I know the dirty work around.
      Link 1 removed because apparently I'm a spammer.
      macwheeler windows-10-office-365-cannot-connect-over-openvpn-fixed
      I know we're saying this is an MS issue. (they normally are ;)
      [https://forum.netgate.com/topic/146813/unable-to-on-outlook-after-connecting-open-vpn/3](link url)
      But can I just ask if anyone has a way to just push a static gateway to the TAP adapter (as per the first link) as that would be quicker than any other solution I can immediately think of if possible (instead of the route push which doesn't work).
      As its been a year since that second post and it looks like MS isn't going to be fixing the issue with Network Location Awareness anytime soon.

      Best Regards
      Dave.

      PS Quite happy to raise a support ticket with MS and see if they have an solutions but I suspect it would be easier to ask here first.

      W 1 Reply Last reply Reply Quote 1
      • W
        webstaff @webstaff
        last edited by

        @webstaff
        Google foo..
        Just pop this in Server custom options.

        push "route 0.0.0.0 0.0.0.0"
        
        

        https://forums.openvpn.net/viewtopic.php?t=27321
        Seems to do the job..
        If anyone wants to give me some Karma so I can post without getting hit as a spammer that would be great.

        Regards
        Dave

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