m3tatr0n
Hi there,
I am running a debian jessie with openvpn client. I am able to access our servers in the cloud fine.
I wanted my debian to be the router for the rest of the computers in my local LAN to access the cloud servers.
I already enable ip forwarding on my debian jessie. Then I added a route to one of the linux servers to
access the cloud servers but it doesn't seem to work.
My debian's ip connected to the cloud via openvpn is 192168.2.160. here is the routing table:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.2.1 0.0.0.0 UG 0 0 0 kvmbr0
172.16.0.0 172.16.1.5 255.255.255.0 UG 0 0 0 tun0
172.16.1.1 172.16.1.5 255.255.255.255 UGH 0 0 0 tun0
172.16.1.5 * 255.255.255.255 UH 0 0 0 tun0
192.168.2.0 * 255.255.255.0 U 0 0 0 kvmbr0
One of the linux server's routing table trying to connect to the cloud servers vi 192.168.2.160
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.15 0.0.0.0 UG 0 0 0 eth0
172.160.0.0 192.168.2.160 255.255.0.0 UG 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Any advice or suggestion is very much appreciated.
Thank you in advance