pfSense / OPNsense VPN Setup
pfSense and OPNsense are powerful open-source firewall/router platforms popular in business and advanced home setups. Both support full OpenVPN client configuration.
Where are my VPN credentials?
Your VPN username and password are in the Members Area under VPNUK Account Details. These are different from your Members Area login.
1
Generate Your OpenVPN Config
Log in to the Members Area and generate an OpenVPN config file. Download it and note the CA certificate, server address and port.
2
Add CA Certificate
In pfSense, go to System → Cert. Manager → CAs. Click Add. Paste the CA certificate from your
.ovpn file. Save.3
Create OpenVPN Client
Go to VPN → OpenVPN → Clients. Click Add. Set:
Server host: e.g.
Server port:
Protocol: UDP
Peer Certificate Authority: The CA you created
Authentication: Username/Password — enter your VPNUK VPN credentials
Server host: e.g.
your-server.vpnuk.netServer port:
1194Protocol: UDP
Peer Certificate Authority: The CA you created
Authentication: Username/Password — enter your VPNUK VPN credentials
4
Configure Interface
Go to Interfaces → Assignments. Assign the OpenVPN interface and enable it.
5
Add Firewall Rules
Go to Firewall → Rules → OpenVPN. Add a rule to allow traffic. Also add NAT rules to route LAN traffic through the VPN interface.
Need help with your pfSense or OPNsense setup? Our team can assist via support ticket or live chat.
Config File Generators
Need a manual config file? Generate OpenVPN, WireGuard or Obfuscation configs from your Members Area.