Thanks all for your inputs. The iptables suggestion is good. But unfortunately it won't work in my scenario. What I want to achieve is to bind OpenVPN on TCP 443 over two WAN interfaces and Apache on TCP 443 over two LAN interfaces (for management traffic).
Thanks, Keyur > >> > > openvpn can bind to either a single interface or to > all interfaces > > (0.0.0.0); so to solve your issue you need two > instances. AFAIK there > > are no plans to change this in the near future. > Openvpn 2.1 has > > something called connection profiles, but this applies > to the *client* > > side only. > > > > Just bind to all interfaces and use iptables to select on > which ones to > accept the openvpn packets. > > Erich