Hallo, I run wireguard on an opnsense. I configured the client's allowed IPs with 0.0.0.0/0, ::/0 so the complete traffic goes through the tunnel. When I activate the tunnel, I can access all devices in the wireguard network but a ping to 8.8.8.8 get's a request timeout.
do you have an idea where I should check the configuration in the opnsense (or at the client)?
You are probably missing an outbound NAT rule on WAN for source WG0 net.
For Windows clients do not use 0.0.0.0/0 but 0.0.0.0/1, 0.0.0.128/1
Quote from: tiermutter on April 29, 2024, 03:49:12 PM
For Windows clients do not use 0.0.0.0/0 but 0.0.0.0/1, 0.0.0.128/1
128.0.0.0/1
Oops, sorry...
Quote from: Patrick M. Hausen on April 29, 2024, 03:42:41 PM
You are probably missing an outbound NAT rule on WAN for source WG0 net.
I have already created a NAT rule (see first screenshot). 0.0.0.0/1, 128.0.0.0/1 don't work as well.
Does it matter that I run the opnsense on a HyperV that runs on a Windows Cloud Server? All used ports are forwarded in Windows Server to the opnsense via Windows "Routing and remote access" (the Windows Server is the gateway).
Edit:
I don't see outgoing traffic in the Live view of the firewall.