💡 Need a VPN account?

Get started with WorldVPN — secure, fast, and private browsing from just $1.12/month.

View Plans & Order →
Router Setup Manual

How To Setup VPN on pfSense / OPNsense

Secure your network infrastructure with enterprise-level security. Select your protocol below to configure WorldVPN on pfSense or OPNsense firewalls.

Prerequisites:

Make sure you have installed the WireGuard package in pfSense (System > Package Manager) and have downloaded your WorldVPN WireGuard config file (.conf).

1

Create WireGuard Tunnel

  • In pfSense, go to VPN > WireGuard > Tunnels tab.
  • Click Add Tunnel. Ensure Enable Tunnel is checked.
  • Enter a Description (e.g. WorldVPN_WG_Tunnel) and paste your Private Key (from downloaded .conf).
  • Under Interface Addresses, add your internal client IP address (e.g., 10.x.x.x/32). Click Save.
2

Configure WireGuard Peer

  • Go to the Peers tab and click Add Peer.
  • Select the tunnel created in Step 1. Enter Description (e.g., WorldVPN_WG_Peer).
  • Paste the Server Public Key, Endpoint IP, and Endpoint Port matching your config.
  • Set Allowed IPs to 0.0.0.0/0. Set Keepalive to 25. Save.
3

Assign Interface and Configure NAT Rules

  • Go to Interfaces > Assignments. Select tun_wg0 and click Add.
  • Click on the assigned interface (e.g. OPT1), check Enable Interface, change description to WORLDVPN_WG. Click Save & Apply.
  • Go to Firewall > NAT > Outbound tab. Switch to Hybrid Outbound NAT (or Manual). Create a new rule mapping your LAN subnet to the WORLDVPN_WG interface.
💡 Need a VPN account?

Get started with WorldVPN — secure, fast, and private browsing from just $1.12/month.

View Plans & Order →