Issue with setting up Wireguard VPN
-
Hello, yesterday I started configuring Wireguard VPN and I have some problems which I couldn't find any solutions on the internet (everything I tried did not change anything). Does anyone have any idea what could be wrong? Basically I scanned QR code on my android app, it connects to VPN (I think so since I get the VPN icon next to network on my android device), but I don't see any of my home devices neither any of the public webpages.
I will post my config files here:
Server config:
[Interface]
PrivateKey = key
Address = 10.0.0.1/24
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o wlan0 -j MASQUERADE
ListenPort = 51820
begin user###
[Peer]
PublicKey = key
PresharedKey = key
AllowedIPs = 10.6.0.2/32
end user###
User config:
[Interface]
PrivateKey = privatekey
Address = 10.6.0.2/24
MTU = 1420
DNS = 10.6.0.1
[Peer]
PublicKey = publickey
PresharedKey = key
Endpoint = ip
AllowedIPs = 0.0.0.0/0, ::0/0
-
How is pfSense involved with your setup here?
-
@theonemcdonald hello, pfsense? I dont have that..?
-
@floky99 This forum is only for discussion relating to WireGuard on pfSense. I'd recommend posting here https://www.reddit.com/r/WireGuard/