OpenVZ Forum


Home » General » Support » howto route from HN to VE subnetwork
howto route from HN to VE subnetwork [message #30192] Thu, 15 May 2008 08:34 Go to previous message
ebasley is currently offline  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.
 
Read Message
Read Message
Previous Topic: OpenVPN inside VE using TUN - Can't see server's network
Next Topic: Could not find path /lib/modules/2.6.18-53.1.13.el5.028stab053.10PAE/source/
Goto Forum:
  


Current Time: Mon Aug 12 10:25:55 GMT 2024

Total time taken to generate the page: 0.02769 seconds