Unable to connect to devices on LAN
-
I have WireGuard running on my pfSense router. When I connect to my WG VPN, I can connect to the internet, but not devices internally. Here's what my .conf file looks like:
`[Interface]
Address = <my internal vpn ip>/32
DNS = <dns internal server ip>
PrivateKey = <client private key that was generated>
[Peer]
PublicKey = <pubkey from router>
PresharedKey = <generated from router>
AllowedIPs = 0.0.0.0/0
Endpoint = <router public ip>:51820`
-
@droidus Looks like you have a rule problem in pfSense, not a WireGuard problem, so most probably misconfiguration of rules.
-
@Bob-Dig I have it working on my phone. I am able to connect to devices on my LAN.
-
@Bob-Dig When I look at the status of the client, the handshake color is yellow. And the last handshake was over an hour ago, even though I connected more recently. rx/tx are in MiB, so there's something going on.
EDIT:
I also notice if it successfully connects, wlp0s20f3 will have an ip of 192.168.211.x rather than 192.168.1.x. -
@Bob-Dig So it gets weirder. When I connect using my peer's .conf file via the hotspot on my phone, I can connect to the devices on my lan. It shows on pfsense that my device is connected. But when I connect using the same .conf file via my home's wifi, I can't connect to anything internally. It seems like there's a relationship b/w the .conf file and my phone?....