|
I have been trying to get OpenVPN set up to access systems by private IP on Linode. Installing and connecting to OpenVPN was no problem, but I am having a routing issue. If I have NAT enabled in iptables, I can access other Linodes by private IP, but then the client IP appears to the private IP of the OpenVPN server. It is necessary for each Linode to see the client's OpenVPN IP, not the IP of the Linode running OpenVPN. If I disable NAT, I can still ping the private IP of the OpenVPN server, but not other Linodes. I have the OpenVPN client block added to the routing table of the other Linode I am testing with.
I have looked at some OpenVPN howtos that Linode has posted, but they use NAT. I did not see any mention of a reason for using NAT.
In searching for a solution, I cam across the following Serverfault posting where someone is claiming that this is a Linode problem.
http://serverfault.com/questions/595438/how-can-i-achieve-openvpn-client-routing-without-nat-on-linode >>>> As further background, these machines are hosted on Linode. It turns out that they use static maps in their switches in order to route traffic to specific nodes on the LAN. Since the VPN source IPs aren't part of those static maps, the traffic wasn't routed anywhere.
So this turns out to be a Linode specific issue, but hopefully it can help others to know that. <<<<
Can anyone confirm or refute the above statement? Has anyone been able to use OpenVPN on Linode without running NAT?
Thanks.
|