OpenVPN on Debian?

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
jz_
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Aug 31, 2015 10:08 pm

OpenVPN on Debian?

Post by jz_ »

Hey guys, I followed

viewtopic.php?f=46&t=11034&p=58590&hili ... vpn#p58590

To set up OpenVPN on my Debian machine, and I also made sure the NFO firewall accepts UDP packets. I set up iptables rules to allow UDP on port 1194 as well, restarted OpenVPN and still get:

"TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"

I know I don't have a managed VDS and don't expect a crazy amount of support, but does anyone know what the issue could be? I disabled router firewall completely as well (I'm trying to set up OpenVPN connection on router directly with AsusWRT-Merlin), and gone over https://openvpn.net/index.php/open-sour ... ivity.html but I cannot get it working
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: OpenVPN on Debian?

Post by kraze »

Did you verify that the OpenVPN server was actually started after installing it? Try issuing you /etc/init.d/openvpn restart to the server to ensure it booted up properly.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
jz_
New to forums
New to forums
Posts: 2
Joined: Mon Aug 31, 2015 10:08 pm

Re: OpenVPN on Debian?

Post by jz_ »

kraze wrote:Did you verify that the OpenVPN server was actually started after installing it? Try issuing you /etc/init.d/openvpn restart to the server to ensure it booted up properly.
Yes, it is running perfectly.

If I change protocol to TCP it works great, but I wanted to use UDP or at least understand WHY it's not working on UDP. And yes when I make the protocol change I am changing on both server and client then restarting both.

No matter what I try I get the timeout error on UDP, and like I was saying the router firewall is completely off, as is the DOS protection. And the router is the one making the connection.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: OpenVPN on Debian?

Post by kraze »

If it's working on TCP, but not UDP that's a decent indication as UDP is just being blocked. What do your server side OpenVPN logs say?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Post Reply