Hi,
I configured an OpenVPN Server on a cheap VPS Server. I'd like to reach the subnet behind one of the clients (client1) from other clients (client2).
VPN subnet 10.8.0.0
subnet behind client1 10.168.1.0
client1 local ip 10.168.1.22
When I connect with client2 to the VPN Server I am able to ping both client1 and machines in the subnet 10.168.1.0 behind client1 and vice versa.
I am able to reach services running on client1, but I am not able to reach services running on machines in the subnet 10.168.1.0 behind client1.
So basicly I am able to ping machines in the clients subnet, but I can not reach any servies running there (SSH etc.).
Can someone help me?
Server config
proto udp6
port 1194
dev tun6
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
push "route 10.168.1.0 255.255.255.0"
route 10.168.1.0 255.255.255.0
client-config-dir ccd
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb3
Server ccd
iroute 10.168.1.0 255.255.255.0
Client config
client
dev tun
proto udp6
remote 81.4.XX.XX 1194
remote 2a00:XXXX:XX:XXXX::XXXX1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
comp-lzo
verb 3
routing table of 10.168.1.3 (a NAS running behind client1)
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.168.1.1 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 10.168.1.22 255.255.255.0 UG 0 0 0 eth0
10.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.168.2.0 10.168.2.2 255.255.255.0 UG 0 0 0 tun0
10.168.2.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0