Difference between revisions of "Route Squid Proxy Traffic Through an OpenVPN Gateway"

From nikosapi.org wiki
Jump to: navigation, search
(iproute2 Configuration)
 
Line 7: Line 7:
 
===iproute2 Configuration===
 
===iproute2 Configuration===
 
Permanently add a custom routing table for OpenVPN traffic:
 
Permanently add a custom routing table for OpenVPN traffic:
  echo "100 openvpn" > /etc/iproute2/rt_tables
+
  echo "100 openvpn" >> /etc/iproute2/rt_tables
  
 
The addition/deletion of the actual routes will be added by the OpenVPN up/down scripts.
 
The addition/deletion of the actual routes will be added by the OpenVPN up/down scripts.

Latest revision as of 00:43, 2 March 2014