Times out on client and causes semaphore timeout on server

Need help configuring your VPN? Just post here and you'll get that help.

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
tamar
OpenVPN User
Posts: 32
Joined: Fri Apr 30, 2021 1:42 am

Times out on client and causes semaphore timeout on server

Post by tamar » Sun Dec 17, 2023 5:34 am

Hi, I'm on Fedora 39 and used this somewhat accurate page to set up my OpenVPN configuration. My code is super simple based on the roadwarrior config files without the comments but I get no logs on either the server or client side and the server completely becomes unresponsive when I attempt the connection using my OpenVPN client (which is on Android, but I think that's neither here nor there).

The server is not on a 192.168.x.x network, it's on a 10.10.x.x network, hence the change. But I am probably doing a half a dozen things wrong.

My server.conf is:

Code: Select all

port 1194
dev tun
tls-server 
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/xx.crt
key /etc/openvpn/keys/xx.key
dh /etc/openvpn/keys/dh.pem
mode server
ifconfig 10.8.0.1 10.8.0.2
ifconfig-pool 10.8.0.4 10.8.0.255
push "route 10.8.0.1 255.255.255.255"
push "route 10.10.0.0 255.255.255.0"
push "dhcp-option DOMAIN example.com"
push "dhcp-option DNS 10.10.0.1"
push "dhcp-option WINS 10.10.0.1"
keepalive 10 60
inactive 600
route 10.8.0.0 255.255.255.0
user openvpn
group openvpn
persist-tun
persist-key
verb 4
My OpenVPN .ovpn file is:

Code: Select all

port 1194
dev tun
remote some.address.here 
tls-client
ca ca.crt
cert xx.crt
key xx.key
dh dh.pem
pull
verb 4
Not sure what is going on here but I've spent the last 5.5 hours on this and I'm not sure what else to try. I've redone these config files and all the certificates so I don't think that's it.

Additionally: I get prompted for a password when starting the server, which I'd really like to avoid. Any ideas?

Code: Select all

# systemctl start openvpn-server@server.service 
 Enter Private Key Password:       

tamar
OpenVPN User
Posts: 32
Joined: Fri Apr 30, 2021 1:42 am

Re: Times out on client and causes semaphore timeout on server

Post by tamar » Mon Dec 18, 2023 5:58 am

Hoping I didn't stump anyone. It seems like a pretty basic configuration on both ends. Am I missing something?

tamar
OpenVPN User
Posts: 32
Joined: Fri Apr 30, 2021 1:42 am

Re: Times out on client and causes semaphore timeout on server

Post by tamar » Tue Dec 19, 2023 2:15 am

I gave up and started over. Still stuck but will start a new thread because no one is going to read this with my subject line.

Post Reply