F5F Stay Refreshed Software Operating Systems Configuring a WireGuard VPN on a Raspberry Pi

Configuring a WireGuard VPN on a Raspberry Pi

Configuring a WireGuard VPN on a Raspberry Pi

Pages (3): 1 2 3 Next
P
PsycoMiner
Junior Member
29
03-01-2021, 07:05 AM
#1
Hi, I've been struggling to configure WireGuard VPN on my Raspberry Pi for a while now. My goal is to connect to my Samba server, which is also running on the same device, but I'm still unable to establish a connection through the VPN. I understand the Samba service is working perfectly. I followed the WireGuard setup instructions and kept all default options except changing the DNS provider to 'Google'—I wasn't sure what that meant. After selecting DNS because my IP isn't static, I entered my hostname from NO-IP.com, which should point to my public address. I went through the remaining settings and chose the default values. Once I set up my account and scanned the QR code on my phone, it worked fine. However, when trying to browse in a browser, nothing loads. I've already forwarded the port on my router and logged into my NO-IP.com account from there. My Raspberry Pi now has a fixed IP assigned by my router, but this process has been really confusing. If you have any screenshots or more details, please share.
P
PsycoMiner
03-01-2021, 07:05 AM #1

Hi, I've been struggling to configure WireGuard VPN on my Raspberry Pi for a while now. My goal is to connect to my Samba server, which is also running on the same device, but I'm still unable to establish a connection through the VPN. I understand the Samba service is working perfectly. I followed the WireGuard setup instructions and kept all default options except changing the DNS provider to 'Google'—I wasn't sure what that meant. After selecting DNS because my IP isn't static, I entered my hostname from NO-IP.com, which should point to my public address. I went through the remaining settings and chose the default values. Once I set up my account and scanned the QR code on my phone, it worked fine. However, when trying to browse in a browser, nothing loads. I've already forwarded the port on my router and logged into my NO-IP.com account from there. My Raspberry Pi now has a fixed IP assigned by my router, but this process has been really confusing. If you have any screenshots or more details, please share.

A
alexandert2006
Junior Member
43
03-09-2021, 08:13 AM
#2
Here’s the reference you asked for: the guide you were using is available online.
A
alexandert2006
03-09-2021, 08:13 AM #2

Here’s the reference you asked for: the guide you were using is available online.

A
Andk_
Junior Member
49
03-16-2021, 08:24 AM
#3
Thank you for your response. The guide references a Raspberry Pi with Ubuntu Server installed.
A
Andk_
03-16-2021, 08:24 AM #3

Thank you for your response. The guide references a Raspberry Pi with Ubuntu Server installed.

J
JuanchoTarca1
Member
74
03-17-2021, 09:43 PM
#4
The command should display the configuration details without revealing any private keys.
J
JuanchoTarca1
03-17-2021, 09:43 PM #4

The command should display the configuration details without revealing any private keys.

C
Cefreak113
Senior Member
484
03-18-2021, 01:41 AM
#5
PrivateKey remains unchanged. Address stays set to 10.215.132.1. MTU is 1420. ListenPort is 51820. PostUp and PostDown commands are configured as specified. PresharedKey and AllowedIPs values are left untouched unless you wish to modify them.
C
Cefreak113
03-18-2021, 01:41 AM #5

PrivateKey remains unchanged. Address stays set to 10.215.132.1. MTU is 1420. ListenPort is 51820. PostUp and PostDown commands are configured as specified. PresharedKey and AllowedIPs values are left untouched unless you wish to modify them.

P
Pablo_VHP
Junior Member
31
03-18-2021, 06:47 AM
#6
Verify the IP is correct and ensure the WireGuard service is operational using systemctl status [email protected]. If it’s active and running, a firewall might be preventing access.
P
Pablo_VHP
03-18-2021, 06:47 AM #6

Verify the IP is correct and ensure the WireGuard service is operational using systemctl status [email protected]. If it’s active and running, a firewall might be preventing access.

O
Olafka
Junior Member
26
03-19-2021, 01:57 PM
#7
The system is currently active but exited on July 30, 2022. Recent activity shows a quick start process completed successfully. For troubleshooting the firewall issue, check logs and recent changes.
O
Olafka
03-19-2021, 01:57 PM #7

The system is currently active but exited on July 30, 2022. Recent activity shows a quick start process completed successfully. For troubleshooting the firewall issue, check logs and recent changes.

_
_Dewey09
Member
68
03-21-2021, 08:23 PM
#8
Here are the firewall configurations you've adjusted on your router:
- Inbound service: Outbound services:
This appears to be the issue you're encountering when connecting via your phone.
_
_Dewey09
03-21-2021, 08:23 PM #8

Here are the firewall configurations you've adjusted on your router:
- Inbound service: Outbound services:
This appears to be the issue you're encountering when connecting via your phone.

L
LeBelinMasque
Member
187
03-21-2021, 10:02 PM
#9
Check if the iptables service is active to ensure it isn't interfering.
L
LeBelinMasque
03-21-2021, 10:02 PM #9

Check if the iptables service is active to ensure it isn't interfering.

Z
ZEGA_FEED
Member
61
03-22-2021, 11:33 PM
#10
Running the command shows the iptables service as inactive, even after restarting it. The issue persists with establishing a connection.
Z
ZEGA_FEED
03-22-2021, 11:33 PM #10

Running the command shows the iptables service as inactive, even after restarting it. The issue persists with establishing a connection.

Pages (3): 1 2 3 Next