[solved] "WireGuard Road Warrior Setup" caused web admin access to stop

Started by verulian, March 30, 2024, 11:47:45 AM

Previous topic - Next topic
While setting up an OPNsense WireGuard VPN server and following along on this guide:
https://docs.opnsense.org/manual/how-tos/wireguard-client.html

I hit a snag on Step 4(a).  In my case I am setting this up on Linode with a single network interface (WAN of course), but my goal is to only provide a gateway service with WireGuard. After getting to "Save the interface configuration and then click Apply changes" the web admin interface entirely stopped working.

I am left now with only being able to ssh into the system or use LISH (a remote direct console to the server). I don't know how to back out of the changes that were done in Step 4(a) from ssh, but I'd really like to not have to set this entire thing up again.

Any ideas of how to fix this or back out of these changes or troubleshoot it further to determine what really went wrong here? I assume that setting up this WireGuard assignment here somehow broke the only other assignment.

I suppose after I get the server working again I'll need to try to find another tutorial that is a WAN-only WireGuard VPN internet gateway service setup, but so far I haven't found anything beyond this particular docs manual entry.

I'm not clear on how this helped, but I was able to execute this from the shell and was able to access the web admin interface again:


# service pf onerestart
Disabling pf.
/etc/rc.d/pf: WARNING: /etc/pf.conf is not readable.


I was concerned about that pf.conf message though and the file is not present:

# cat /etc/pf.conf
cat: /etc/pf.conf: No such file or directory