Guide
How to reach pfSense, OPNsense and router admin pages safely
The admin page of a firewall or router is the most valuable thing on your network to an attacker: whoever signs in there decides what gets in. pfSense, OPNsense and most routers make it easy to reach that page, and SSH, from the internet side. It's safer not to.
This guide sets up RemoteAccessApp so the admin pages stay on your own network and you can still reach them from anywhere, with a serial console for the days the network itself is down.
- Admin pages on the LAN only
- Reachable from anywhere through a PC
- Serial console for recovery
Updated · Works on Windows 10 and 11
The rule: admin on the LAN side only
- Don't allow the web interface or SSH on the WAN (internet) interface, and don't forward ports to them.
- Turn off remote management on consumer routers, the option that opens the admin page to the internet.
- Use a strong, unique admin password, and SSH keys where the firewall supports them.
- Keep the firewall's own software up to date, from its web interface.
Everything below works with those rules in place, because nothing needs to reach your firewall from outside. To confirm that nothing answers from the internet, our open port checker tests ports like 22 and 443 on your own connection.
Set up your firewall and router in the app
Step 1: Save the admin page as a web panel
On the Connections page of the RemoteAccessApp app for Windows, add a web panel with the firewall's LAN address, such as
https://192.168.1.1orhttps://10.0.0.1. The tab asks about the firewall's self-signed certificate and remembers one you've accepted. Check the certificate the first time rather than clicking through.Step 2: Add SSH on the LAN address, if you use it
Turn on SSH in the firewall's settings for the LAN only, preferably with key sign-in. Then add the LAN address as an SSH host and check its key fingerprint against the one the firewall shows on its console.
Step 3: Add a serial console for recovery
If the firewall has a console port, connect it to a PC with a USB serial cable, then choose Add serial console… from the arrow next to Add host and pick the COM port. Most devices use 9600, 8N1 with no flow control, the default; some use a faster speed, so check the manual.
Step 4: Group your network gear
Put the firewall, its SSH host, the serial console, switches and access points in a group such as Network, so the next time something's wrong everything is in one place.
Reaching it when you're away
Two ways, neither of which opens a port on the firewall:
- Through a PC's screen. Open a PC on your network with RemoteAccessApp, from the app or any browser, and use the admin page in that PC's own browser. The PC makes an outgoing connection to our relay, which the firewall allows like any other outgoing traffic. See remote desktop without port forwarding.
- SSH from the website, through one of your PCs. Sign in to the website, open the firewall's saved SSH host and choose Through my PC: a PC of yours on that network opens the connection to the LAN address. It's free.
Careful with firewall changes from afar
SSH on pfSense and OPNsense
Signing in over SSH as the admin user on pfSense or OPNsense usually opens the console menu rather than a shell; the menu has an option to drop to a shell. The terminal tab handles the menu like any other program. Useful commands once you're at a shell:
pfctl -s info netstat -rn ifconfig top
The live Dashboard and Run on hosts… run their commands directly, without the menu. The dashboard reads FreeBSD systems, which both of these are based on, but a user whose login opens a menu instead of a shell may stop it from working. A user with an ordinary shell avoids that.
When the network is down: the serial console
A serial console works when nothing else does: no IP address, no network, a broken rule. The serial tab has Send break, and you can switch DTR and RTS and log the session to a file.
The cable doesn't have to be on the PC in front of you. With a serial cable on a PC at the site, open a live session with that PC and choose Serial ports on this PC… from the session's terminal menu, or right-click it on the Devices page and choose Serial ports…. This needs control allowed on that PC. See serial (COM port) connections.
Some devices drop pasted text. Type text types it key by key instead, with a careful speed for slow devices.
Consumer routers and other gear
A home router's admin page is usually at an address like 192.168.0.1 or 192.168.1.1. Save it as a web panel with the user name; Fill sign-in fills in the sign-in form, and Copy password clears itself from the clipboard after a short time. Switches, access points and printers with web pages go in the same group.
Server management controllers follow the same rule: keep them on the LAN and reach them through a PC. There are walkthroughs for Dell iDRAC remote access, the HPE iLO remote console and Supermicro IPMI and iKVM.
For hypervisors on the same network, see managing Proxmox, VMware and KVM hosts from one app, and why their web interfaces shouldn't face the internet either. Windows hosts have their own guide to manage Hyper-V hosts and VMs remotely, and the rest of our remote access guides cover NAS boxes, cloud servers and PCs.
Your RemoteAccessApp account matters too
If your account reaches a PC inside your network, protect it like the firewall: turn on two-step verification, and keep each PC's Allow prompt unless unattended access is something you need. See security.
Questions, answered
More homelab and virtualization guides
- Manage Proxmox, VMware & KVM hostsSSH, web interfaces, RDP and VNC consoles, ISO and backup copies, scripts and dashboards for your hypervisor hosts and VMs, in one app.Read the guide
- Homelab managementOne app for a homelab: SSH, SFTP and FTP, RDP and VNC, web panels, a live host dashboard, and remote desktop for Windows and Linux PCs.Learn more
- Proxmox VE remote managementSSH to Proxmox VE nodes with keys, reach the web UI without opening ports, run qm and pct across nodes, and move ISOs and backups.Read the guide
- Manage VMware ESXi remotelyThe ESXi Host Client and vSphere Client in a tab, SSH with esxcli and vim-cmd, datastore files, and RDP or SSH into guests.Read the guide
- KVM and QEMU VM consoleslibvirt VNC consoles through an SSH tunnel, virsh for everything else, and honest limits for SPICE displays.Read the guide
- Manage Hyper-V remotelyRemote desktop and PowerShell on Hyper-V hosts, RDP into Windows guests, and the same command on many hosts.Read the guide
- TrueNAS, Unraid and NAS accessYour NAS web UI as a saved panel, SSH and SFTP with keys, a live dashboard and server-to-server copies.Read the guide
- Docker and Podman hostsContainers, logs, restarts and shells over SSH, host dashboards, and scripts across every Docker or Podman host.Read the guide
- Raspberry Pi and small serversSSH with keys, a VNC desktop through an SSH tunnel, a live dashboard and file copies for a Pi or any small Linux box.Read the guide
- Dell iDRAC remote accessThe iDRAC and its virtual console in a tab, racadm over SSH, and a way in from anywhere that never exposes it to the internet.Read the guide
- HPE iLO remote consoleiLO and its HTML5 console in a tab, power and the virtual serial port over SSH, and a private way in from anywhere.Read the guide
- Supermicro IPMI and iKVMThe BMC page and HTML5 iKVM in a tab, ipmitool from a server on the same network, and IPMI kept off the internet.Read the guide
- One app for your whole homelabWhy juggling terminals, browser tabs and viewers for a homelab gets old, and what one app for every host and VM looks like.Read the post
- Homelab maintenance checklistUpdates, backups, disk checks and consoles: a maintenance-night checklist for a homelab, worked through from one window.Read the post
- Stop exposing your hypervisor web UIWhy management web UIs belong on your own network, and how to reach them from anywhere without opening a port.Read the post
- 5 workflows for many serversGroups and tags, saved workspaces, one script on many hosts, direct server-to-server copies and live dashboards.Read the post
Related
- No port forwardingHow to reach a PC behind a router without opening ports, and why it's safer.Read the guide
- RDP & VNC managerSave RDP, VNC, SSH, SFTP, FTP hosts and web admin panels in one list, and open them in tabs.Learn more
- Remote console accessRemote console access to PCs, servers and devices: PowerShell, bash, SSH and serial consoles from anywhere, in the app or a browser.Read the guide
- SecurityConsent, encryption, trusted consoles, signed updates and how your password is protected.Learn more
- Access control for PCs and serversDecide who can reach each computer and server, what they may do there, and how you'd know.Read the guide
