Hi all,
Currently I've been trying to setup OpenVPN in Bridged mode to access a server in our office from without.
Here is my network details:
Internal network: 10.5.0.0/24
OpenVPN Server OS: CentOS 5.7
OpenVPN Server kernel: 2.6.18-274.18.1.el5PAE
OpenVPN Server Public IP: X.X.X.X (eth0)
OpenVPN Server Private IP: 10.5.0.251 (eth1)
Office Server IP: 10.5.0.250
I've done everything as per the HOWTO @
http://openvpn.net/index.php/open-source/documentation/miscellaneous/76-ethernet-bridging.html. Everything goes ok, but once I start up the eth1, bridge it and run OpenVPN, everything goes bad. The openvpn service is ok and initializes, but the server itself loses all internet connectivity and is left accessible to devices from within the same network only.
Please note that the server loses connectivity even before openvpn starts, it's like bridging causes things to go wrong. There is no difference with iptables on or off, it's all the same.
Once openvpn is shutdown, bridge-stop is run, eth1 is shutdown, eth1's conf file is moved to .bak and network service is restarted, the server regains internet connectivity again without issues.
Can someone help with this? I'm sure I'm missing something somewhere.
Please let me know if more information is required to help with this.
Thanks
//M