Reference viewtopic.php?p=899406&sid=934b9d7f6ce5 ... 2fce93ba87
My actually goal is RoadWarrior Setup
eth1 to be my WAN
eth2 to be my Admin LAN <=== Wireguard server to access this LAN
eth3 to be my Client LAN <=== Wireguard server to access this LAN
eth 4 to be my Wifi LAN
I don't want any communications between the LANs, but all exit on the WAN
I can get LANs setup but my main goal is to create a wireguard VPN for my client LAN and Admin LAN. No matter what I try the wireguard client will connect and lose access to internet.
So I started from scratch (default conf) attempting to only setup wireguard according to the above link to see if I can get clients connected and still have internet.
When they connect I cannot even ping the gateway for wireguard server.
I have walked through so many simple tutorials but a route or something is missing.
Steps:
1) Create Wireguard Interface
2) Assign address to wireguard interface 192.168.199.1/24
3) Add Peers 192.168.199.3/32
4) Connect - Successful - No internet
I know it must be a route but nothing seems to work.
Client Example:
[Interface]
PrivateKey = uD0000000000000000000000mE=
Address = 192.168.199.10/32
DNS = 8.8.8.8
[Peer]
PublicKey = 311u000000000000000000000003kKCE=
AllowedIPs = 0.0.0.0/0
Endpoint = myserver.net:13231