[LARTC] vpn control
Damion de Soto
damion@snapgear.com
Mon, 05 Jan 2004 16:46:54 +1000
Rick Marshall wrote:
> linux-linux using ip tunnels - modprobe ip_gre
>
> ip tunnel add china mode gre remote xxx.xxx.xxx.xxx local \
> xxx.xxx.xxx.xxx ttl 255
> ip link set china up
> ip addr add 192.168.1.11 dev china
> ip route add 192.168.5.0/24 dev china
Hrrm, not 100% sure on GRE tunnels, but I can't see why they wouldn't.
You should be able to just create all your tc rules on the 'china' device.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---