Jump to content
  • 0

PFsense + Wireguard setup

Rate this question




I would like to know if there is any tutorial to setup PFsense with Wireguard (or even OPNsense).

Or if someone can give me a light... I tried with setup by myself but no handshake is done.

I am using the beta 2.5.2RC.

Any help is appreciated.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello Marcos,

in general, there are only two ways:

1. Use original client provided by TorGuard

2. Use torguard api.

It means, if there is no torguard client for OPNsense, then you can not use option 1.

As there is wireguard client, it means you can use torguard together with the api, here is the syntax:


user: your torguard vpn username

pass: your torguard vpn password

port: 1443

public-key: any public, you can generate always new for each reconnect if you want.

Your public key needs to be url encoded format, you can check this tool if you need it quickly.

Here is one example for how to do it on openwrt, you can do actually all those things on OPNsense too, just check the scripts and adapt them to OPNsense. I do not use OPNsense otherwise I would have written installation package for it too.

Hope that helps @Marcos& @chumleyex, if not then probably best is to contact support and ask for help.

Link to comment
Share on other sites

  • 0

@Marcos @chumleyex  I don't run opnsense but here are two tutorials you can follow: 

1)  https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html

2)  https://forum.opnsense.org/index.php?topic=21205.0


For pfSense, the guy who maintains the WireGuard package for pfSense made a tutorial video (using another provider but the steps still work).  Following his video worked for me and hopefully will for you.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...