Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having an issue using the Viscosity OpenVPN client on a network behind a pfSense firewall. I'm unable to connect to my office vpn from this particular network, however the connection works just fine from other networks. Below is a log from Viscosity showing the error with our IP Address redacted. Any help would be appreciated.

Jan 03 12:21:38: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Jan 03 12:21:38: Re-using SSL/TLS context
Jan 03 12:21:38: LZO compression initialized
Jan 03 12:21:38: UDPv4 link local: [undef]
Jan 03 12:21:38: UDPv4 link remote: redacted:1196
Jan 03 12:22:38: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jan 03 12:22:38: TLS Error: TLS handshake failed
Jan 03 12:22:38: SIGUSR1[soft,tls-error] received, process restarting
share|improve this question

1 Answer 1

Hard to tell definitively without seeing the server log too, but usually logs along those lines means the client can't communicate with the server on UDP 1196. Without knowing more about the setup as a whole it's impossible to pinpoint a cause, but in general the following are the most likely:

  • if you have egress filtering employed on your pfSense, you could be blocking outbound UDP 1196. Packet capture on WAN to ensure it's leaving, if it is, you've ruled out pfSense at least.
  • something upstream from you (DSL modem, similar), or on your ISP's network, is blocking the traffic. Packet capture on the server would tell you whether the traffic is getting there, my guess is it isn't.
  • something server-side is blocking the traffic, such as source IP restrictions on the server itself, a firewall, or something else potentially applying such restrictions.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.