VPN_Newbie
New Around Here
Hello. After reading lots of posts and information, specially this and this, I have configurated a semi-successful VPN server on my ASUS RT-AC86U router (Merlin 386.2_6).
This is my network scheme:
And this is what I want to achieve:
So, I want to connect from several clients to several devices in the LAN network of the AC86U WireGuard server (but only LAN, not Internet). I have done yet this via OpenVPN on this router and another one, but I want to migrate to WireGuard. In fact, I have success doing that with WireGuard Server running in Windows 10, but I want to do this with the router for stability reasons (in every restart, I must to do random things in Windows WireGuard server to make it work again).
Server config:
Client 1 config:
This is what I get when listing for peers (peer corresponding with my client 1):
Firewall is deactivated in the GUI of the router.
I don't do anything yet related to routes or NAT or something else, because I don't know what to do (POSTUP and POSTDOWN commands not supported).
Currently, I am able to ping from my Client 1 the LAN IP of the router (192.168.100.253), but not any other device in this LAN network... except a printer (192.168.100.4/24). I don't know why I'm able to ping only this device. And I don't know what I must to do to connect with the others.
Thank you.
This is my network scheme:
And this is what I want to achieve:
So, I want to connect from several clients to several devices in the LAN network of the AC86U WireGuard server (but only LAN, not Internet). I have done yet this via OpenVPN on this router and another one, but I want to migrate to WireGuard. In fact, I have success doing that with WireGuard Server running in Windows 10, but I want to do this with the router for stability reasons (in every restart, I must to do random things in Windows WireGuard server to make it work again).
Server config:
Code:
# RT-AC86U 'server' Peer #1 (wg21)
[Interface]
PrivateKey = *******
ListenPort = 37802
# Peer 1
[Peer]
PublicKey = *****
AllowedIPs = 192.168.100.0/24, 10.50.1.0/24
PresharedKey = *****
# Peer 1 End
Client 1 config:
Code:
[Interface]
PrivateKey = *****
Address = 10.50.1.2/32
MTU = 1300
PostUp = iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
[Peer]
PublicKey = ****
PresharedKey = ****
AllowedIPs = 192.168.100.0/24, 10.50.1.0/24
Endpoint = ****:37802
This is what I get when listing for peers (peer corresponding with my client 1):
Firewall is deactivated in the GUI of the router.
I don't do anything yet related to routes or NAT or something else, because I don't know what to do (POSTUP and POSTDOWN commands not supported).
Currently, I am able to ping from my Client 1 the LAN IP of the router (192.168.100.253), but not any other device in this LAN network... except a printer (192.168.100.4/24). I don't know why I'm able to ping only this device. And I don't know what I must to do to connect with the others.
Thank you.