How to Open Port 1194 for OpenVPN Server

Open OpenVPN Port 1194

OpenVPN commonly uses UDP port 1194. If your VPN clients cannot connect, the tunnel never establishes, or handshakes fail, the issue is often networking rather than OpenVPN itself.

  • 🔥 Firewall blocking UDP 1194
  • 🌐 Router forwarding missing
  • ☁ Cloud firewall restrictions
  • 📡 ISP CGNAT limitations
  • ⚙ OpenVPN server configuration issues

🔎 Check Port 1194

Verify whether your OpenVPN server is reachable externally.

Test Port 1194 →

Step 1 — Verify OpenVPN Is Running

Linux:


sudo systemctl status openvpn

Or:


sudo systemctl status openvpn-server@server

Expected:


Active: active (running)

If stopped:


sudo systemctl start openvpn

Step 2 — Verify OpenVPN Configuration

Open:


/etc/openvpn/server.conf

Verify:


port 1194

proto udp

OpenVPN supports TCP too:


proto tcp

But UDP is usually preferred for performance. Restart:


sudo systemctl restart openvpn

Step 3 — Open Firewall Rules

Ubuntu:


sudo ufw allow 1194/udp

Rocky Linux:


sudo firewall-cmd \
--add-port=1194/udp \
--permanent

sudo firewall-cmd --reload

iptables:


iptables \
-A INPUT \
-p udp \
--dport 1194 \
-j ACCEPT

Step 4 — Configure Router Port Forwarding

Self-hosted OpenVPN requires:


External:

1194 UDP

↓

192.168.1.50:1194

Using TCP forwarding accidentally is a common mistake.

Step 5 — Cloud VPS Users

Check:
  • AWS Security Groups
  • Google Cloud Firewall
  • Azure NSG
  • Oracle Cloud
  • Hetzner Firewall
  • OVH Cloud Firewall

Opening Linux firewall alone may not be enough.

🌐 Verify Connectivity

Check whether UDP 1194 is accessible externally.

Run Port Checker →

OpenVPN Still Not Working?

❌ ISP CGNAT blocking inbound traffic
❌ Wrong public IP
❌ UDP blocked upstream
❌ Firewall configured for TCP only
❌ TLS handshake problems

Debug OpenVPN Logs

Linux:


journalctl -u openvpn

Common issue:


TLS Error:
TLS key negotiation failed

Usually points to:
  • Firewall
  • Port forwarding
  • Wrong endpoint IP
  • Cloud firewall restrictions

Check VPN Visibility

After fixing OpenVPN connectivity, verify your tunnel actually hides your IP correctly.

🛡 Verify VPN Detection

Check whether your VPN connection appears correctly.

Run VPN Check →

Final Checklist

✅ OpenVPN service running
✅ UDP 1194 open
✅ Router forwarding configured
✅ Cloud firewall validated
✅ Connectivity verified externally

🚀 Test Port 1194

Verify whether OpenVPN is reachable externally.

Open Port Checker →