Am 11.04.2015 um 15:16 schrieb [email protected]:
> I have been delighted by tinc.  Building a mesh like I need would have been 
> horrible in OpenVPN.  tinc makes it easy.

You can add the following to tinc-up:
ORIGINAL_GATEWAY=`ip route show | grep ^default | cut -d ' ' -f 2-5`
for VPN_GATEWAY in 1.2.3.4 ; do
    ip route add $VPN_GATEWAY $ORIGINAL_GATEWAY
done
ip route add 0.0.0.0/1    dev $INTERFACE
ip route add 128.0.0.0/1  dev $INTERFACE


1.2.3.4 is the external ip of your tinc endpoint, may be more ips if needed.


ALBI...

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to