need to set up internal LAN gateway for VPN
Hi all,
I am in a situation where I am trying to setup openVPN to connect our two offices. I have openVPN running at both offices and I can ping each endpoint from the other endpoint.
However, each office has a hardware router that does not support static routes so I need to have a machine, the same machine running openVPN, to serve as a gateway for the office so that all system behind the routers on each end will be able to see all the other systems on each end.
How can I setup a gateway/firewall using iptables so that all traffic intended for the openVPN tunnel gets routed through the tunnel, but all other traffic gets sent to the router normally.
The openVPN machine is just a machine on the internal network that connects to the Internet via a hub and the router.
Unfortunately the current physical network setup cannot be changed as the higher ups want to keep the hardware router as the NAT and firewall device.
I hope I have explained clearly enough to get some suggestions.
Thanks for your time
mdkelly
|