Raspberry Pi 4 - Can't connect

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Robj1190
OpenVpn Newbie
Posts: 1
Joined: Tue Jun 15, 2021 6:29 pm

Raspberry Pi 4 - Can't connect

Post by Robj1190 » Tue Jun 15, 2021 6:36 pm

Hi

I've set up OpenVPN on a Raspberry Pi 4 running Ubuntu using these instructions:

https://www.cyberciti.biz/faq/ubuntu-18-04-lts-set-up-openvpn-server-in-5-minutes/

Trying to connect from a Windows 10 client using the key gives me the below log error with 92.14.111.141 being my external IP, 192.168.1.192 being internal IP and the port number being 1194. I've linked imgur screenshots of my port forwarding, firewall setting and set up, hopefully they help, much appreciate any help at all because I'm at a bit of a loose end with this

ISP : Talktalk in the UK with a Sagemcom
Router is a Sagemcom Fast 5364 and running a BT Home Hub as a wifi / ethernet bridge

Screenshot links : https://imgur.com/a/KMUxv8X

Code: Select all

[Jun 13, 2021, 09:30:26] OpenVPN core 3.git::8975e733 win x86_64 64-bit built on May 25 2021 14:08:00
⏎[Jun 13, 2021, 09:30:26] Frame=512/2048/512 mssfix-ctrl=1250
⏎[Jun 13, 2021, 09:30:26] UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
11 [ignore-unknown-option] [block-outside-dns]
12 [block-outside-dns]
13 [verb] [3]
⏎[Jun 13, 2021, 09:30:26] EVENT: RESOLVE ⏎[Jun 13, 2021, 09:30:26] Contacting 92.14.111.141:1194 via UDP
⏎[Jun 13, 2021, 09:30:26] EVENT: WAIT ⏎[Jun 13, 2021, 09:30:26] WinCommandAgent: transmitting bypass route to 92.14.111.141
{
	"host" : "92.14.111.141",
	"ipv6" : false
}

⏎[Jun 13, 2021, 09:30:26] Connecting to [92.14.111.141]:1194 (92.14.111.141) via UDPv4
⏎[Jun 13, 2021, 09:30:36] Server poll timeout, trying next remote entry...
⏎[Jun 13, 2021, 09:30:36] EVENT: RECONNECTING ⏎[Jun 13, 2021, 09:30:36] EVENT: RESOLVE ⏎[Jun 13, 2021, 09:30:36] Contacting 92.14.111.141:1194 via UDP
⏎[Jun 13, 2021, 09:30:36] EVENT: WAIT ⏎[Jun 13, 2021, 09:30:36] WinCommandAgent: transmitting bypass route to 92.14.111.141
{
	"host" : "92.14.111.141",
	"ipv6" : false
}

⏎[Jun 13, 2021, 09:30:36] Connecting to [92.14.111.141]:1194 (92.14.111.141) via UDPv4
⏎[Jun 13, 2021, 09:30:46] Server poll timeout, trying next remote entry...
⏎[Jun 13, 2021, 09:30:46] EVENT: RECONNECTING ⏎[Jun 13, 2021, 09:30:46] EVENT: RESOLVE ⏎[Jun 13, 2021, 09:30:46] Contacting 92.14.111.141:1194 via UDP
⏎[Jun 13, 2021, 09:30:46] EVENT: WAIT ⏎[Jun 13, 2021, 09:30:46] WinCommandAgent: transmitting bypass route to 92.14.111.141
{
	"host" : "92.14.111.141",
	"ipv6" : false
}

⏎[Jun 13, 2021, 09:30:46] Connecting to [92.14.111.141]:1194 (92.14.111.141) via UDPv4
⏎[Jun 13, 2021, 09:30:56] Server poll timeout, trying next remote entry...
⏎[Jun 13, 2021, 09:30:56] EVENT: RECONNECTING ⏎[Jun 13, 2021, 09:30:56] EVENT: RESOLVE ⏎[Jun 13, 2021, 09:30:56] Contacting 92.14.111.141:1194 via UDP
⏎[Jun 13, 2021, 09:30:56] EVENT: WAIT ⏎[Jun 13, 2021, 09:30:56] WinCommandAgent: transmitting bypass route to 92.14.111.141
{
	"host" : "92.14.111.141",
	"ipv6" : false
}

⏎[Jun 13, 2021, 09:30:56] Connecting to [92.14.111.141]:1194 (92.14.111.141) via UDPv4
⏎[Jun 13, 2021, 09:31:06] Server poll timeout, trying next remote entry...
⏎[Jun 13, 2021, 09:31:06] EVENT: RECONNECTING ⏎[Jun 13, 2021, 09:31:06] EVENT: RESOLVE ⏎[Jun 13, 2021, 09:31:06] Contacting 92.14.111.141:1194 via UDP
⏎[Jun 13, 2021, 09:31:06] EVENT: WAIT ⏎[Jun 13, 2021, 09:31:06] WinCommandAgent: transmitting bypass route to 92.14.111.141
{
	"host" : "92.14.111.141",
	"ipv6" : false
}

⏎[Jun 13, 2021, 09:31:06] Connecting to [92.14.111.141]:1194 (92.14.111.141) via UDPv4
⏎[Jun 13, 2021, 09:31:16] Server poll timeout, trying next remote entry...
⏎[Jun 13, 2021, 09:31:16] EVENT: RECONNECTING ⏎[Jun 13, 2021, 09:31:16] EVENT: RESOLVE ⏎[Jun 13, 2021, 09:31:16] Contacting 92.14.111.141:1194 via UDP
⏎[Jun 13, 2021, 09:31:16] EVENT: WAIT ⏎[Jun 13, 2021, 09:31:16] WinCommandAgent: transmitting bypass route to 92.14.111.141
{
	"host" : "92.14.111.141",
	"ipv6" : false
}

⏎[Jun 13, 2021, 09:31:16] Connecting to [92.14.111.141]:1194 (92.14.111.141) via UDPv4
⏎[Jun 13, 2021, 09:31:26] EVENT: CONNECTION_TIMEOUT  BYTES_OUT : 3240
 PACKETS_OUT : 60
 CONNECTION_TIMEOUT : 1
 N_RECONNECT : 5
⏎[Jun 13, 2021, 09:31:26] EVENT: DISCONNECTED ⏎

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Can't connect

Post by TinCanTech » Tue Jun 15, 2021 7:08 pm

Try this: https://github.com/pivpn/pivpn

Automatic setup of a VPN for R-Pi.

Post Reply