dilu
Hi,
6 days ago i asked this same question in a support ticket, so far no answer so maybe someone
on the forum can help me.
I am struggling for two days trying to figure this out.
I don't want the OpenVPN/TAP/TUN interface to have a default gateway or 0.0.0.0/0 route, i've tried about
any option in the admin panel but i seems the OpenVPN interface always gets a "gateway" assigned.
from the client log:
Open TAP device "Ethernet 2" PATH="\\.\Global\{9D87D684-179C-4E89-9AB7-CC4A1488BE7D}.tap" SUCCEEDED
TAP-Windows Driver Version 9.21
ActionDeleteAllRoutesOnInterface iface_index=25
netsh interface ip set address 25 static 192.168.223.132 255.255.255.192 gateway=192.168.223.129 gwmetric=101 store=active
I don't want the "gateway=192.168.223.129" part i've already "pushed" static routes (which work fine btw):
netsh interface ip add route 192.168.0.0/16 25 192.168.223.129 metric=101 store=active
Ok.
netsh interface ip add route 172.16.0.0/12 25 192.168.223.129 metric=101 store=active
Ok.
netsh interface ip add route 10.0.0.0/8 25 192.168.223.129 metric=101 store=active
Ok.
How i do stop the OpenVPN interface from getting an "gateway" address or a pushed 0.0.0.0/0 route?