After configuring WireGuard VPN I can no longer log in to my modem
-
@stephenw10
Like this?
Unfortunately, I still can't connect.
Not sure if additional firewall rules are needed and what they would look like. The Netgate documentation mentions them, but does not specify what they should be. -
@stephenw10
I added a firewall LAN rule (no idea if it is correct):
,
but seems like there is a NAT issue as well. -
If you have policy routing rule for the VPN on LAN you need to put that rule above it.
If it worked before you added the VPN it should work now without additional NAT rules or VIPs.
-
@stephenw10
Thank you!
Now instead of timing out, the 192.168.3.1 gives me a "Connection refused" error. -
192.168.3.1 is the modem management IP correct?
Before you added the VPN you were able to access it from the LAN by just entering that directly in a browser?
I can't see what mode you have the outbound NAT it. Normally in auto mode traffic for the modem IP would just be translated to the WAN address like any other traffic.
-
@stephenw10
Never mind, it worked!
But I needed these:
Sorry, the picture didn't show it, but I am using manual NAT.
Funny thing, I can access 192.168.3.1 (yes, this is the modem's login page) only from one of two Chrome based browsers. But that is fine : )I don't know how to thank you, Stephen, very much obliged!
-
Cool.
You almost certainly only need one of those rules. You wouldn't need static source ports for that connection.
If you removed those rules deliberately to prevent traffic 'leaking' past the VPN (a lot of VPN setup guides will have you do that) then you might want to tighten it to only apply to traffic with modem as destination.
-
This post is deleted! -
@sarrasine said in After configuring WireGuard VPN I can no longer log in to my modem:
Do I need any of the 500 (ISAKMP) rules?
You only need them if you are connecting an IPSec VPN through the firewall. So probably not. But it doesn't hurt to leave them either.
-
@stephenw10
Thank you, Stephen, appreciate it!