need to override redirect-gateway def1

Got a problem with Viscosity or need help? Ask here!

asdffdsa6131

Posts: 7
Joined: Sat Feb 23, 2019 12:15 pm

Post by asdffdsa6131 » Thu Jan 09, 2020 5:51 am
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

Eric

User avatar
Posts: 939
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Thu Jan 09, 2020 9:07 am
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
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

asdffdsa6131

Posts: 7
Joined: Sat Feb 23, 2019 12:15 pm

Post by asdffdsa6131 » Thu Jan 09, 2020 9:37 am
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
3 posts Page 1 of 1