Connect to the WEB-Interface
Create temporary firewall rule
Connecting to OPNsense-WebUI
We would like to create a temporary firewall rule to access the WebUI via port 81. To do this, first open opnsense via your SSH-Tunnel.
- Open Windows Terminal
- Use the command:
ssh root@<yourIP4> -L 443:<WAN_IP4>:9443
This will open up a tunnel. After that you should be able to connect via https://localhost. To setup everything important I recommend running the setup wizard.
It will configure some important things needed for further configuration
Create NAT-Rule
- Go to
Firewall > NAT > Port Forward - Add Rule by clicking the plus-button
- Enter the following values
- Hit ‘safe’ and then ‘apply’
NATrule-Settings
Interface - TAILSCALE
Destination / Invert - false
Destination - TAILSCALE_ADDRESS
Destination port from - (other) 81
Destination port to - (other) 81
Redirect Target IP - Proxy-Alias (IP: 10.1.2.2)
Redirect Target Port - (other) 81
Interface - WAN
Destination / Invert - false
Destination - WAN_ADDRESS
Destination port from - (other) 81
Destination port to - (other) 81
Redirect Target IP - Proxy-Alias (IP: 10.1.2.2)
Redirect Target Port - (other) 81
Open the webinterface
via tailscale ip (my choice)
Now you can access the web interface of your proxy manager with your browser.
http://opnsense_tailscale_ip:81via public ip
Now you can access the web interface of your proxy manager with your browser.
http://yourip:81Login into webinterface
Please use the following data for the first login.
You will then be asked to change your userinformation and the password, but I recommend filling this out.
Save and apply everything
E-Mailadress: admin@example.comPassword: changeme