Jump to content
TorGuard
  • 0

PFsense + Wireguard setup

Rate this question


Marcos
 Share

Question

Hello.

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:

https://[USER]:[PASS]@[SERVER]:[PORT]/api/v1/setup?public-key=[YOURPUBLICKEYURLENCODED]

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.

 

https://youtu.be/wYe7FzZ_0X8

 

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.

Guest
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.

Loading...
 Share

×
×
  • Create New...