Times out on client and causes semaphore timeout on server
Posted: 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:
My OpenVPN .ovpn file is:
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?
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
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
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: