ajsrockstar
Occasional Visitor
I am trying to set up a bi-directional OpenVPN tunnel between two ASUS routers. RT-AX82U hosts the built-in ASUS-WRT OpenVPN server and RT-AX3000 hosts the built-in ASUS-WRT OpenVPN client. I have foillowed the instructions given in these two excellent posts to do this:
As per those two posts, I have generated individual certificates and keys for the client router and taken great care to make sure there is no overlap and conflict of IP addresses between the two subnets:
RT-AX82U (running OpenVPN server) subnet/mask 192.168.0.1 /255.255.255.0
OpenVPN server on RT-AX82U subnet/mask 10.8.0.0 /255.255.255.0
RTAX3000 (running OpenVPN client) subnet/mask 192.168.50.1 /255.255.255.0
The client connects successfully to the server and from a PC on the client 192.168.50.1 subnet I can connect to and log into devices on the server 192.168.0.1 subnet. But I am not able to make the reverse connection i.e. use a PC connected to the server subnet to connect to and log into devices on the client subnet. I have also tried connecting my mobile phone running OpenVPN client over a 4G cellular connection but the result is the same - I can connect to devices on the server subnet but not to devices on the client subnet. (In the OpenVPN server config I have configured the setting Allow Client <-> Client:Yes).
When I first configured and activated the OpenVPN client on the RT-AX3000 I got an error message "IP/Routing conflict: Please change your router LAN subnet, please refer to this FAQ for detail". I don't understand why this conflict occurs given the above subnet/mask configurations. And despite the error message the uni-directional client -> server connection worked fine. Back on the server I changed the definition of the Allowed Client for the client router to switch the 'Push' parameter from Yes to No. This at least resolved the IP/Routing conflict message but I can still only get the uni-directional client -> server connection working.
I see other posts suggesting various solutions involving entries in the router routing tables and/or route and iroute directives in the custom configration box in the OpenVPN server advanced settings but I don't have the advanced networking knowledge and skills necessary to try those out without risking completely screwing up the OpenVPN server router (which incidentally is in an unoccupied house 6000 miles away from me!).
I know that other people have followed the instructions in the above-referenced posts and report they succeeded in getting bi-directional VPN working so I'm asking if anybody has any suggestons as to what else I might try?
Tutorial - Ultimate Guide to setting up Bi-Directional VPN using two Asus Routers via OpenVPN in TUN mode
The Ultimate Guide to setting up Bi-Directional VPN using two Asus Routers via OpenVPN in TUN mode - Part 1 This guide will help you connect two ASUS routers in Site To Site (also know as Point To Point) mode. I'm listing literally every step I take so you should be able to just follow along...
www.snbforums.com
Tutorial - [Solved] Setup for Bi-directional VPN with WRT-based Routers (e.g. ASUS)
Part 1: Context and Goal In early 2019, Ed B. posted his Ultimate Guide to setting up a bi-directional VPN using ASUS routers. He did a fantastically thorough job describing what he did. Most of it is right, and you should use his post as a place to get started. Unfortunately, he got a critical...
www.snbforums.com
As per those two posts, I have generated individual certificates and keys for the client router and taken great care to make sure there is no overlap and conflict of IP addresses between the two subnets:
RT-AX82U (running OpenVPN server) subnet/mask 192.168.0.1 /255.255.255.0
OpenVPN server on RT-AX82U subnet/mask 10.8.0.0 /255.255.255.0
RTAX3000 (running OpenVPN client) subnet/mask 192.168.50.1 /255.255.255.0
The client connects successfully to the server and from a PC on the client 192.168.50.1 subnet I can connect to and log into devices on the server 192.168.0.1 subnet. But I am not able to make the reverse connection i.e. use a PC connected to the server subnet to connect to and log into devices on the client subnet. I have also tried connecting my mobile phone running OpenVPN client over a 4G cellular connection but the result is the same - I can connect to devices on the server subnet but not to devices on the client subnet. (In the OpenVPN server config I have configured the setting Allow Client <-> Client:Yes).
When I first configured and activated the OpenVPN client on the RT-AX3000 I got an error message "IP/Routing conflict: Please change your router LAN subnet, please refer to this FAQ for detail". I don't understand why this conflict occurs given the above subnet/mask configurations. And despite the error message the uni-directional client -> server connection worked fine. Back on the server I changed the definition of the Allowed Client for the client router to switch the 'Push' parameter from Yes to No. This at least resolved the IP/Routing conflict message but I can still only get the uni-directional client -> server connection working.
I see other posts suggesting various solutions involving entries in the router routing tables and/or route and iroute directives in the custom configration box in the OpenVPN server advanced settings but I don't have the advanced networking knowledge and skills necessary to try those out without risking completely screwing up the OpenVPN server router (which incidentally is in an unoccupied house 6000 miles away from me!).
I know that other people have followed the instructions in the above-referenced posts and report they succeeded in getting bi-directional VPN working so I'm asking if anybody has any suggestons as to what else I might try?