OpenVPN cannot access network on different NIC
-
I am trying to connect two clusters via VPN. One cluster is on AWS and I have another machine at local premise with two NIC cards.One NIC has public Ip and other is connected to the internal network. When I connect these two I can access or ping all nodes on AWS by private IP from my local node. But I cannot ping any node other than directly connected node from AWS. The default gateway on the local node is of the public IP provider. Following are my settings
root@ubuntu-VirtualBox-b-1:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 122.139.79.254 0.0.0.0 UG 0 0 0 eth1
10.0.0.0 169.254.255.1 255.255.0.0 UG 0 0 0 tun0
122.139.79.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
169.254.255.1 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.23.0 192.168.23.213 255.255.255.0 UG 0 0 0 eth0
192.168.23.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0tun0 is VPN and eth0 is local network and eth1 is public.
I am not able to ping to 192.168.23.XX through the VPN from machines 10.0.0.5
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy