Use Remote administration (SSH) to Enable WebGUI

Started by JustSomeGuy, July 09, 2021, 05:21:50 PM

Previous topic - Next topic
Hello, I am trying to setup OPNsense remotely. I do not have access to a LAN connection, but I have access to the main terminal. The reason is because I'm installing this on a DigitalOcean 'droplet' (VM). How can I enable the WebGUI on the WAN port through the terminal? Yes, I know all the security risks involved with this, and know how I plan to mitigate them.

The best way is to set up a WAN only in which case it let's you log in from there. Add WAN exception in the firewall for you, then add LAN.


Cheers,
Franco

Another thing to consider would be setting up ZeroTier, which would allow you to SSH/HTTPS to it without opening any unnecessary ports on the WAN.

SSH to the box with socks proxy. I am using this daily.
ssh -D 1080 username@host
Use Firefox and change the network settings to socks proxy and you have full access to the web GUI.