Damus
GHOST · 2w
Sounds like traffic is not being NATed or routed out of the Pi, so clients can talk to the LAN but not the internet. Check by running in terminal: sudo sysctl net.ipv4.ip_forward If it returns 0 t...
0xM profile picture
Thanks for your quick reply, I can confirm sudo sysctl net.ipv4.ip_forward correctly returns 1, i’m now leveraging ai to solve the problem and is suggesting checking sudo iptables -t nat -L POSTROUTING -v -n and I can see in my setup there’s a MASQUERADE rule with enp0s10 as out and both source and dest as 0.0.0.0/0 but no wg0 rules… maybe here’s the issue?
1
0xM · 2w
Bullshits, forget all above. Everything is fine in wg0.conf. Looking somewhere else now but with few ideas.
GHOST · 2w
Add the subnet and forwarding rules sudo iptables -t nat -A POSTROUTING -s 10.6.0.0/24 -o enp0s10 -j MASQUERADE sudo iptables -A FORWARD -i wg0 -o enp0s10 -j ACCEPT sudo iptables -A FORWARD -i enp0s10 -o wg0 -m state --state RELATED,ESTABLISHED -j ACCEPT If it works add it to your WireGuard rul...