Contents |
There are a few different ways to remotely administer a pfSense system, that come with varying levels of recommendation. They should all work, but which one you use may vary for any number of reasons (Client restrictions, corporate policies, etc.)
Probably the safest way to accomplish the task would be to setup a VPN that will get you access to the pfSense box and the network it protects. There are several VPN options available in pfSense, such as IPsec, PPTP, or OpenVPN. You could even connect with SSH only and then forward the WebGUI port via a tunnel that way. Once a VPN is in place you should be able to connect to the LAN side of the pfSense router, depending on your VPN seutp.
If you must open your WebGUI port to the Internet, try to restrict it by IP range as much as possible. Ideally, if you have a static IP at your location you want to manage from, allow traffic from that IP or subnet and nowhere else.
It is also a good idea to use HTTPS to encrypt access to the WebGUI port. Some modern browsers may complain about the certificate, but you can usually store an exception so it will only complain the first time. If you want to use HTTPS then it will be necessary to enable it under System > General Setup, using the WebGUI protocol option.
Is is also a good idea to move the WebGUI to a non-standard, random port. Just make sure you remember what it is! This can be changed under System > General Setup, using the option WebGUI port. Try to avoid common ports like 443, 31337, 8080, 8888, etc.
You only need to create a firewall rule to allow remote firewall administration - do not create a port forward or any other NAT configuration.
Firewall > Rules, WAN Tab