From: Vincent B. <be...@lu...> - 2005-02-21 16:44:39
|
OoO Lors de la soir=E9e naissante du lundi 21 f=E9vrier 2005, vers 17:10= , Christian R=F8snes <chr...@ce...> disait: >> Therefore, when I connect through ssh to 82.67.232.xxx, all is working >> fine, even if the default route uses another IP. ICMP and UDP are also >> working fine (I don't know the magic behind since they are >> connection-less). However, with OpenVPN, if I connect to >> 82.67.232.xxx, OpenVPN always answers with the other IP and therefore, >> the answer is sent via the default interface. >>=20 >> I use OpenVPN 2.0rc12 (from Debian). Any idea ? > Assuming that iproute2 setup is working correctly, try running=20 > two openvpn servers and bind each server (local parameter in > openvpn server configuration) to the ip address for each > internet connection. > Actually, when using TCP as openvpn carrier this should not necessary,=20 > but when using UDP as carrier I have found that I had to use two openvp= n=20 > servers (one for each line) bound to the apropriate ip address to > get traffic to return out the corresponding line. Thanks for your answer. May those two OpenVPN instances share the same pool config file and the same range. I mean, may I have the same server directive and the same ifconfig-pool-persist directive ? --=20 Modularise. Use subroutines. - The Elements of Programming Style (Kernighan & Plaugher) |