OpenVPN server - Timeout
-
From the looks of it there is no response from the IP and the port. Check if you have the firewall policy on the WAN port to allow inbound UDP on port 1194.
-
@ab5g Thanks for your reply. Yes I have an according WAN rule, it was generated by the wizard, please see below:
-
@marci Can you try connecting it via the IP instead of DynDNS ? Also please check that the OpenVPN interface has a firewall rule allowing traffic to go out (Firewall >> Rules >> OpenVPN).
If that is also open, look at the firewall logs (Diagnostics >> pfTop >> filter by port and see if the traffic is getting blocked anywhere)
-
This post is deleted! -
@ab5g I tried it directly via the IP, the result is the same (timeout). I also looked at pfTop, but I did not see any connection attempts.
The OpenVPN interface has the rule from the wizard, see below:
-
@marci That doesn't make sense. You should at least see a connection attempt on the firewall. Is the OpenVPN server on ?. Try an external website and see if your port is open.
-
@marci
Show your OpenVPN server configuration.Is there any hint in the OpenVPN log?
-
Your WAN rukes image :
which means no traffic reached the WAN interface, using port 1194, protocol UDP.
You should see :
See for yourself :
and hit the start button - then re try to connect. Stop to see the results. Was there any traffic ?
What is the IP of your WAN interface ? Some RFC1918 IP and if so, what's in front of your pfSense ? a "ISP" router ? If so ; does this one contain the correct NAT rule ?
-
@ab5g I have checked the port with some websites and all report that the port (1194) is closed. If I restore my old pfsense config it is also reported that port 1194 is closed but I can connect to my server.
-
@viragomann Here is my server configuration
There is no activity in the OpenVPN log.
I also restored my old pfsense config and there I could see the connection in the log.
-
@gertjan There is no activity in the packet capture. I also tried it with my old pfsense config (where I can connect) and there I could see according activity.
I have an ISP router in front of pfsense, so my WAN IP is in its network (192.168.0.101).
Since I can connect to the OpenVPN server with my old pfsense config (also using UDP 1194) I think the ISP router should not be a problem, right?I am puzzled...
-
@marci said in OpenVPN server - Timeout:
I have checked the port with some websites and all report that the port (1194) is closed.
Checked port 1194 using TCP or UDP ? OpenVPN is using UDP.
@marci said in OpenVPN server - Timeout:
so my WAN IP is in its network (192.168.0.101).
What was the pfSense "WAN" IP uising the old config ? 192.168.0.101 ?
What is the pfSense "WAN" IP using the new config ? If it's not 192.168.0.101, the NAT rule in the ISP should be modified, so that it uses the new pfSense WAN IP.@marci said in OpenVPN server - Timeout:
There is no activity in the packet capture.
That proofs again that incoming VPN traffic doesn't reach pfSense.
If nothing enters the WAN NIC, you should check the ISP router = the NAT rule in this device. -
@gertjan and @all
Thank you very much for your time and comments!
Indeed the port forwarding on my ISP router was not configured correctly.
That being corrected everything is now working as expectedI wish you a great start into the new year!!