howto route from HN to VE subnetwork [message #30192] |
Thu, 15 May 2008 08:34 |
ebasley
Messages: 14 Registered: February 2008
|
Junior Member |
|
|
I'm using openvpn in a VE with a veth setup (see howto).
Openvpn defines a tun device @TUN.
I need to route packets from openvpn tunnel to our LAN.
We need to tell HN to routes those packets to VE, so
solution is to launch in HN after VE start :
# route add -net @TUN dev veth
Where can I plug this command ?
Can't use VEID.mount script, because it's launched before VE's network setup, I need a script before VEID.start but executed in HN context.
An Idea ?
Thanks.
|
|
|