


* A NAT gateway on the server's network does not have a port forward rule for TCP/UDP 1194 to the internal address of the OpenVPN server machine. Be aware that many OSes will block incoming connections by default, unless configured otherwise. * A software firewall running on the OpenVPN server machine itself is filtering incoming connections on port 1194. * A perimeter firewall on the server's network is filtering out incoming OpenVPN packets (by default OpenVPN uses UDP or TCP port number 1194). One of the most common problems in setting up OpenVPN is that the two OpenVPN daemons on either side of the connection are unable to establish a TCP or UDP connection with each other. I'm getting this error: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Unfortunately, this is probably the most common openvpn client-side error.Īccording to the typically excellent openvpn documentation's FAQs section TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) What was initially supposed to be a 10 second operation (type your password and connect) got ruined when I first saw this error message: I wanted to have all of my internet traffic on the client go through an encrypted tunnel to my home network so I can do my online banking from the dorms with some peace of mind. I have a client across town behind a packet shaped, double NATed, terribly insecure, and poorly configured dorm network. I have a smoothwall firewall at my house with the zerina addin installed for managing my openvpn server.

I'm mostly just going to throw all of my findings here without much of any logical flow. This post will contain a slew of information about smoothwall, zerina, openvpn, and iptables. I only expected this to take a few minutes, but I ended up spending over 7 hours of research, troubleshooting, and configuration changes. I was determined to get my OpenVPN server properly setup so that I could finally browse the web securely from the dorms. This time, however, it was not for school. It's only the second week of school and I've already pulled my first all-nighter.
