What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RT-N66u and RT-N16: OpenVPN Server can't ping PC in OpenVPN Client's LAN

Job314

Occasional Visitor
Hello to all!

I describe my situation that is making me lose my mind:

I have 2 LAN and 2 routers RT-N66u and RT-N16.
My goal is to be able to access HDDs connected to the routers and also to access shares of both LAN PCs.

RT-N66U (with OpenVPN server) - 3.0.0.4.270.26 (Merlin build)
IP: 131.114.0.0
Mask: 255.255.255.0
Gateway: 131.114.0.1
OpenVPN: 10.8.0.1

RT-N16 (with OpenVPN Client) - Tomato Version 1.28 by shibby
IP: 192.168.0.0
Mask: 255.255.255.0
Gateway: 192.168.0.1
OpenVPN: 10.8.0.6

From Client I can ping and browse shares of Server
ViceVersa impossible

If i change and set RT-N16 OpenVPN server and RT-N66U OpenVPN Client.... is the same problem:
from client to server, no problem, i can ping also the PC behind the router.
From Server to Client impossible....
In Server i set "allow Client to Client" but the problem persist.
I tried disable firewalls on each router but without results.
I tried install DD-WRT on RT-N16 with the same problem.

I tried to set static routes but But I do not know how to set them, and I do not know if that's the problem.

It seems impossible that there is a way to do

OTHER TESTS DONE:

Now to test and for ease of testing I set the RT-N16 as openvpn server and the RT-N66U as a client.

I have opened the door manually 3140 on the firewall of the RT-N66U with the commands:
iptables-A INPUT-i any -p udp - dport 3140 -j ACCEPT
iptables-A OUTPUT-o any -p udp - dport 3140 -j ACCEPT

Based on the routing table of the client (which works perfectly) I added a route manually on the server with the command:
route add -net 131.114.0.0 netmask 255.255.255.0 gw 10.8.0.2 tun21

No work

I also tried manually stopping the firewall of both routers ("service stop_firewall" on RT-N66U and "service firewall stop" on RT-N16).

I am attaching some pictures of openVPN server, client, and routes of both routers.

The absurd thing is that from client (RT-N66U) to the server (rt-n16) everything works perfectly, and vice versa nothing works. From the server (rt-n16) I can only ping the ip generated by the VPN server (10.8.0.6) that corresponds to the client (RT-N66U) !!

Specific connected to the WAN RT-N66U I have another router that provides internet connection (192.168.205.1), but he has all the doors open (already checked in every possible way) and the firewall off.
Idem for RT-N16 (the router that provide internet connection is 192.168.1.1 with all doors opened and firewall off)


Please help me ...

Job
 

Attachments

  • RT-N16 OpenVPN Server Basic.jpg
    RT-N16 OpenVPN Server Basic.jpg
    42.2 KB · Views: 550
  • RT-N16 OpenVPN Server advanced.jpg
    RT-N16 OpenVPN Server advanced.jpg
    46.5 KB · Views: 462
  • RT-N66u OpenVPN client.jpg
    RT-N66u OpenVPN client.jpg
    7.1 KB · Views: 318
  • rt-n16 routes.jpg
    rt-n16 routes.jpg
    58.9 KB · Views: 268
  • rt-n66u routes.jpg
    rt-n66u routes.jpg
    55 KB · Views: 388
Similar threads

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top