Hello All,
I am not an expert but an anthousiaste who have been trying his hands around lots of networking stuff.
I have been tasked to setup a VPN with a client. Which I did. Used VyOS(192.168.5.25) on amazon VPC(192.168.5.0/24) and set 2 tunnels and everything. From VyOS box I can ping the other network IP 10.2.0.10.
I have created another box on my amazon VPC which has the IP 192.168.5.40 and it can't ping 10.2.0.10. I have seen somewhere That it's gateway should be set to VyOS ip so I did so
Code:
sudo route add -net 0.0.0.0/0 gw 192.168.5.25
Code:
ubuntu@ip-192-168-5-40:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.5.25 0.0.0.0 UG 0 0 0 eth0
default 192.168.5.1 0.0.0.0 UG 0 0 0 eth0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth0
Ping are still failling. I am half way through but can't still make client's network available to my network.
Can any networking guru shed some light? That will be really appreciated Thanks
Regards,