Routing Internet traffic to Internet with Wireguard
-
I am using wireguard, and am routing all traffic through my wireguard server. Here is what the client wireguard config looks like:
[Interface]
PrivateKey = pkey
Address = 192.168.4.6/32[Peer]
PublicKey = pkey
AllowedIPs = 0.0.0.0/0
Endpoint = ip:51820When I connect to my WG server, this is what I see:
192.168.4.0 is my WG traffic subnet, and 192.168.1.0 is traffic local on the other side of the WG server. I can hit stuff internally on the other side of my WG server.
How do I route the Internet traffic appropriately?
-
@droidus What is your problem exactly?
-
@droidus Outbound NAT configured for the WG subnet?
-
@Bob-Dig Something like this?:
-
@droidus Yup :)
-
@Popolou It still isn't working.
-
@droidus Need to investigate elsewhere in your config i'm afraid.