Hello
I'm stuck at connecting to a remote location. I have a OpenVPN setup to connect different locations to my server at home. Now I have a new server which is connected to the OpenVPN on tun0 with IP 10.66.77.254 Behind this server there is another server on a private LAN IP (IP 192.168.201.201)
So I setup a route on my homeserver which runs the OpenVPN-server as follows
10.66.77.1 is my homeservers OpenVPN-ipaddress. The routing table shows that the route is being used properly
But I cannot see one paket arriving on the remote location. If I perform a
I'm stuck at connecting to a remote location. I have a OpenVPN setup to connect different locations to my server at home. Now I have a new server which is connected to the OpenVPN on tun0 with IP 10.66.77.254 Behind this server there is another server on a private LAN IP (IP 192.168.201.201)
So I setup a route on my homeserver which runs the OpenVPN-server as follows
$ route add -net 192.168.201.0/24 10.66.77.254
which should imho route the traffic to the remote gateway via OpenVPN. Now if I try to ping from my home-LAN to the IP 192.168.201.201, I can see pakets going out direction remote side with tcpdump
Code:
17:46:58.034693 IP 10.66.77.1 > 192.168.201.201: ICMP echo request, id 12647, seq 211, length 72
17:47:01.639323 IP 10.66.77.1 > 192.168.201.201: ICMP echo request, id 12647, seq 212, length 72
17:47:05.639702 IP 10.66.77.1 > 192.168.201.201: ICMP echo request, id 12647, seq 213, length 72
Code:
192.168.201.0/24 10.66.77.254 UGS 0 122 tun0
$ tcpdump -i tun0 -n icmp
on the remote gateway I cannot see one paket going through. So they must be dropped somewhere but I have to idea where. I set enable_gateway="YES" on all the servers involved via their /etc/rc.conf