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


  • 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.


  • @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