BrunoN
Hello!
I was able to connect 2 site using an Asus RT-AC56U (Server) and a RT-AC51U (Client) and access both networks from the 2 sites.
The problem is that after a few hours, the client site can access the server side, but for some reason the server site stop accessing the client side.
If I reconnect the client it start working again for a few hours.
How can I solve this problem?
Thanks!
Here is the configuration from OpenVPN on the server:
client-config-dir /jffs/openvpn/conf/
route 192.168.2.0 255.255.255.0
client-to-client
Inside of /jffs/openvpn/conf/ there is a file with the same DEFAULT with this content:
iroute 192.168.2.0 255.255.255.0
client
dev tun
proto udp
remote XXXXXXXXX.asuscomm.com 443
float
cipher AES-128-CBC
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----END OpenVPN Static key V1-----
</tls-auth>
resolv-retry infinite
nobind