-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 09 July 2004 12:19, Neil Brown wrote: > My server that I hope to use as an OPENVPN server is multi-homed. > i.e. it has multiple network interfaces and multiple addresses on > multiple subnets.
I have the same problem on my multihomed server, which is running PBR (policy based routing). eth0 is the device with the default route. eth3.81 ist a device (on a VLAN trunk) with vlan 81 I have a PBR setup which routes traffic outgoing on eth3.81 through another default gateway connected to eth3.81. Like this: ifconfig eth0 192.168.2.100 route add default gw 192.168.2.1 dev eth0 ifconfig eth3.81 192.168.1.100 ip rule add from 192.168.1.100 lookup table 100 ip route add default via 192.168.1.1 table 100 ip route flush cache OpenVPN seems to answer all incoming OpenVPN connections on eth3.81to 192.168.1.100 through the default route on eth0 with source adress 192.168.2.100 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA7qzrosmtDiD9dbIRArbEAKCcopV+QLnMPDye4Tv+6OWEyr/jtwCgvnam EMkoCEWy4jku32YPl7Wwf2I= =YYVq -----END PGP SIGNATURE-----