OpenVPN on Multi-WAN
-
2.0-BETA4 (amd64)
built on Thu Oct 14 01:04:17 UTC 2010
FreeBSD 8.1-RELEASE-p1I upgraded from the above build to that of Oct. 28 and it appears to have broken something with OpenVPN.
I've got a dual WAN with one OpenVPN server running on WAN1 on port 1194 and a separate OpenVPN server running on WAN2 on port 1195. When running on the Oct. 14 build, clients could connect to either (and/or both) OpenVPN server(s) without issue. However, after upgrading to the Oct. 28 build, clients can no longer connect to the second OpenVPN server (the one running on WAN2/port 1195), but are still able to connect to the first OpenVPN server (running on WAN1/port 1194).
The following error is found in the client's logs:
openvpn[36074]: TCP/UDP: Incoming packet rejected from [AF_INET]WAN1_GW:1195[2], expected peer address: [AF_INET]WAN2_IP:1195 (allow this incoming source address/port by removing --remote or adding --float)
where WAN1_GW is the Gateway of WAN1 and WAN2_IP is WAN2's IP.
Here are the logs from the server:
Oct 31 13:16:38 openvpn[1657]: CLIENT_IP:2058 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Oct 31 13:16:36 openvpn[1657]: CLIENT_IP:52168 TLS Error: TLS handshake failed
Reverting to the Oct. 14 build resolves the issue.
-
known issue from http://redmine.pfsense.org/issues/958
-
Boolah,
I had that error as well on some earlier shots. After I upgraded to:
2.0-BETA4 (amd64) - built on Thu Oct 28 17:17:55 UTC 2010
The error was gone. -
I am having the same problem. I have tried the following builds:
Oct 30
Oct 14
Oct 28Currently on Oct 28
Had the same error on all. "TLS handshake failed"Is there a workarounduntil this is resolved?
-
It is the same problem like:
http://forum.pfsense.org/index.php/topic,29683.0.htmlThe backrouting is wrong (all traffic to the standard-gateway, not to the incoming Interface)
-
I have resolved this by updating to the latest snapshop:
2.0-BETA4 (i386)
built on Mon Nov 1 02:02:45 EDT 2010and by also setting the WAN OpenVPN is running on to default under System -> Routing.
Not sure if this is by design or not?