Add to Favourites    Print this Article

How to Setup pfSense 2.4.4

Step 1: Login to your pfSense router.

Step 2: Decide which gateway you would like to connect to, and obtain its hostname. You can find a list of all of our region hostnames available on our network page.

Click on any location to determine the available servers.

Step 3:

Determine the certificate for the encryption cipher you would like to use. At the moment we recommend AES-GCM over AES-CBC.

Step 4:

pfSense-CA.png

Import the Certificate Authority for the encryption cipher you would like to use. You can find all of our certificates, including their corresponding encryption ciphers and ports, available here and here

In this guide, we'll be setting up pfSense to use the AES-128-GCM encryption cipher, so we're going to import our CA from here

Navigate to System>Cert.Manager and select Add. Enter a name into the Descriptive name field, such as TorGuard-2048.

Leave the Method as "Import an existing Certificate Authority".

Download the certificate and open it in a text editor. Copy the entire contents of the file into the Certificate data field.

Then, press Save.

Step 5: Navigate to VPN>OpenVPN>Clients and select Add.

Enter the following settings:

General Information

General-Information.png

Disable this client: leave unchecked.

Server mode: Peer to Peer (SSL/TLS)

Protocol: TCP or UDP on IPv4 only

Device mode: tun – Layer 3 Tunnel Mode

Interface: WAN

Local port: leave blank

Server host or address: The hostname for the region you picked out on our network page

Server port: 1912

Proxy host or address: Leave blank

Proxy port: Leave blank

Authentication method: None

Description: Whatever you would like to title your connection profile

User Authentication Settings

User-Authentication-Settings.png

Username: Your TG username

Password: Your TG VPN password in both fields.

Authentication Retry: Leave unchecked

Cryptographic Settings

Screenshot-from-2018-10-25-17-51-00.png

TLS Configuration: Checked

TLS-Key: Enter the tls-auth key located here.

TLS Key Usage Mode: TLS Authentication

Peer Certificate Authority: TorGuard

Peer Certificate Revocation list: Leave undefined

Client Certificate: None

Encryption Algorithm: AES-256-GCM

Enable NCP: Leave unchecked

NCP Algorithms: None

Auth digest algorithm: SHA256

Hardware Crypto: No Hardware Crypto Acceleration

Tunnel Settings

Tunnel-Settings.png

IPv4 Tunnel Network: Leave blank

IPv6 Tunnel Network: Leave blank

IPv4 Remote network(s): Leave blank

IPv6 Remote network(s): Leave blank

Limit outgoing bandwidth: Leave blank

Compression: Disable Compression, retain packet framing [compress]

Topology: Subnet -- One IP address per client in a common subnet

Type-of-service: Unchecked

Don't pull routes: Unchecked

Don't add/remove routes: Unchecked

Advanced Configuration

Advanced-Configuration-Revised.png

Custom options:

persist-key
persist-tun
remote-cert-tls server
reneg-sec 0
auth-retry interact

UDP Fast I/O: Unchecked

Send/Receive Buffer: Default

Gateway creation: IPv4 only

Verbosity level: Default

Then, click Save.

Step 6.

NAT-mappings.png

Navigate to Firewall>NAT>Outbound, and select Manual Outbound NAT rule generation. You should see 4 rules.

Under the Actions heading, you should see an icon that looks like two pages, called Add a new mapping based on this one. Duplicate each of the 4 rules exactly, but change their interface to OpenVPN, clicking Save after each rule is duplicated.

Step 7:

Navigate to System > General Setup and set DNS Servers to:

104.223.91.194

91.121.113.7

Step 8:

Service-running.png

Verify your connection. Navigate to Status>OpenVPN and check to see whether your OpenVPN client is up.

Finally, visit What's My IP to verify that you are protected.