Astrill Setup Manual:Setup WireGuard on pfSense: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
You'll see following output if VPN is connected successfully. | You'll see following output if VPN is connected successfully. | ||
[[File:PfSense- | |||
[[File:PfSense-wireguard166.png]] | |||
---- | ---- |
Revision as of 14:03, 12 July 2020
STEP 1: Login into your pfSense
Turn on your pfSense router and login as root user by selecting "shell".
STEP 2: Install WireGuard
Run following command to install WireGuard: pkg install wireguard
If it fails to install then install Bash first and then try again to install WireGuard.
To install bash run following command: pkg install bash
STEP 3: Check If WireGuard is Installed Properly
Once WireGuard is installed, login into pfSense through your browser.
And check under "VPN" tab, you'll see "WireGuard" option. If yes, follow rest of the steps, otherwise repeat above steps carefully.
STEP 4: Download Configuration File For WireGuard
Login into your Astrill account.
Then go to "VPN Services" tab.
Go to "WireGuard Configuration" option.
Type name for WireGuard .conf file and select your desired server and download the .conf file.
STEP 5: Upload Configuration File
Login again into pfSense through browser and go to "Diagnostic" tab and select "Command Prompt".
Once configuration file is uploaded, you'll see a green indicator with a message "uploaded".
STEP 6: Connect WireGuard
Run following command in command shell: wg-quick up /tmp/wg0.conf
You'll see following output if VPN is connected successfully.