Page 1 of 1

need to override redirect-gateway def1

Posted: Thu Jan 09, 2020 5:51 am
by asdffdsa6131
hello,
i have a .ovpn file i imported into viscosity.
it has this command
Code: Select all
redirect-gateway def1
and i want to override it.

so i added the following and still all traffic goes over the vpn.
Code: Select all
pull-filter ignore redirect-gateway
route-nopull
please advise,
thanks,
david

Re: need to override redirect-gateway def1

Posted: Thu Jan 09, 2020 9:07 am
by Eric
Hi asdffdsa6131,

If redirect-gateway is in the configuration you imported, edit your connection and go to the Networking tab then ensure the All Traffic dropdown is set to Automatic.

If redirect-gateway is being pushed by the server as well, route-nopull is all you should need to ignore it.

Regards,
Eric

Re: need to override redirect-gateway def1

Posted: Thu Jan 09, 2020 9:37 am
by asdffdsa6131
thanks eric,
you are correct 100% on all points.

jsut now,
i set all traffic to automatic.
i already had route-nopull and pull-filter ignore redirect-gateway
i connected and it works as i requested.

as a test, i removed pull-filter ignore redirect-gateway and kept route-nopull.
it worked as needed.

again thanks