OpenVPN Client to use local internet not VPN internet
I have an OpenVPN setup working. I have selected the split tunnel option.
On clients internet does resolve and outlook disconnects with default settings.
The IPsetup is as follows:
ER7206 = 192.168.0.21
VPNpool 10.0.0.0 / 24
I have been reading many blogs without propper succes, but was partly succesful with adding "redirect-gateway def1", but while this works, it is pushing internet via VPN which is not what we want.
Not sure if this is due to the default pool of 10.0.0.0. / 24 or what causes the prpblem.
I would be really grateful if someone could assist me to modify client settings to use the clients local internet.
Client config file (After I added "redirect-gateway def1":
client
dev tun
proto udp
float
redirect-gateway def1
nobind
cipher AES-128-CBC
comp-lzo no
resolv-retry infinite
persist-key
auth-user-pass
remote 192.168.1.2 1194
EDIT: Controlled using OC200