OpenVPN dosen't put back def.gateway

Samples of working configurations.
User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: OpenVPN dosen't put back def.gateway

Post by Traffic » Tue Mar 31, 2015 11:19 pm

slupper wrote:so i assume it must be a bug in openVPN
so report it ..

Regedit:
  • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\{your interface}\Parameters\Tcpip=DefaultGateway:?
You could also try this simple test (command prompt):
    • Reboot pc
      • Code: Select all

        ipconfig /all > defgw.txt  
        route print >> defgw.txt
    • Connect to VPN
      • Code: Select all

        ipconfig /all >> defgw.txt
        route print >> defgw.txt
    • Disconnect from VPN
      • Code: Select all

        ipconfig /all >> defgw.txt
        route print >> defgw.txt
    • post: defgw.txt

Post Reply