Valentino
Occasional Visitor
Hi,
AC56U acts as OpenVPN server. It's LAN 192.168.1.0/24 router 192.168.1.1
Client is AC66u with LAN 192.168.3.0/24 router 192.168.3.1
Another client is RT-N16 on Tomato 192.168.2.0
Connection is successfull and client see only 192.168.1.1, but from server's LAN and router itself dont't see clients. Routing table is not updated with the route to client 192.168.3.0 or 2.0, but even after I add it manually route add -net 192.168.3.0 gw 10.8.0.2 dev tun21 there is still no connection. I tried different options, but nothing helps. I don't use traffic encryption and use username/password authentication. Even clients can ping each other, but server doesn't..
on server side:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
178.140.236.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun21
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun21
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
178.140.236.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 178.140.236.1 0.0.0.0 UG 0 0 0 eth0
Even if I add route manually, still no ping
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
178.140.236.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun21
192.168.2.1 10.8.0.2 255.255.255.255 UGH 0 0 0 tun21
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun21
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
178.140.236.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 178.140.236.1 0.0.0.0 UG 0 0 0 eth0
AC56U acts as OpenVPN server. It's LAN 192.168.1.0/24 router 192.168.1.1
Client is AC66u with LAN 192.168.3.0/24 router 192.168.3.1
Another client is RT-N16 on Tomato 192.168.2.0
Connection is successfull and client see only 192.168.1.1, but from server's LAN and router itself dont't see clients. Routing table is not updated with the route to client 192.168.3.0 or 2.0, but even after I add it manually route add -net 192.168.3.0 gw 10.8.0.2 dev tun21 there is still no connection. I tried different options, but nothing helps. I don't use traffic encryption and use username/password authentication. Even clients can ping each other, but server doesn't..
on server side:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
178.140.236.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun21
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun21
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
178.140.236.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 178.140.236.1 0.0.0.0 UG 0 0 0 eth0
Even if I add route manually, still no ping
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
178.140.236.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun21
192.168.2.1 10.8.0.2 255.255.255.255 UGH 0 0 0 tun21
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun21
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
178.140.236.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 178.140.236.1 0.0.0.0 UG 0 0 0 eth0
Attachments
Last edited: