What's new

Problem with policy based routing OpenVPN client

David Partridge

Occasional Visitor
How can I display the policy based routing that the OpenVPN client is actually using (as distinct from what is displayed in the GUI). I assume there's a command line interface to display this sort of stuff?

My default setting was to route everything to the VPN, and have exceptions. When I added the additional records

MandS 0.0.0.0 23.216.240.0/20 WAN
MandS 0.0.0.0 23.0.0.0/12 WAN
MandS 0.0.0.0 104.111.224.0/19 WAN
MandS 0.0.0.0 104.64.0.0/10 WAN


it all went pear shaped and started to send stuff that should have gone down the tunnel to the WAN????
 
How can I display the policy based routing that the OpenVPN client is actually using (as distinct from what is displayed in the GUI). I assume there's a command line interface to display this sort of stuff?

My default setting was to route everything to the VPN, and have exceptions. When I added the additional records

MandS 0.0.0.0 23.216.240.0/20 WAN
MandS 0.0.0.0 23.0.0.0/12 WAN
MandS 0.0.0.0 104.111.224.0/19 WAN
MandS 0.0.0.0 104.64.0.0/10 WAN


it all went pear shaped and started to send stuff that should have gone down the tunnel to the WAN????

Code:
ip rule

ip route show table ovpnc1/2/3/4/5
ip route show table main
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Back
Top