Port 1194 is the default OpenVPN port, usually over UDP. Some deployments run OpenVPN on TCP 443 to get through restrictive firewalls. It is normally meant to be reachable from the internet.
- Port
- 1194
- Protocol
- UDP and TCP
- Service
- OpenVPN
- Expose to internet?
- Yes, usually
Is port 1194 safe to open?
A VPN server is meant to be reachable, and OpenVPN uses TLS with certificates, so exposure is reasonable. With tls-crypt or tls-auth, the server ignores packets that are not signed with the shared key, which hides it from scanners. Keep the server and its configuration up to date.
How to secure OpenVPN
- Enable
tls-crypt(ortls-authon older versions) so unauthenticated packets are dropped. - Use per-client certificates and revoke them when people leave.
- Keep OpenVPN patched and use modern ciphers (
data-ciphers AES-256-GCM:CHACHA20-POLY1305).
Check if port 1194 is open
Linux: what is listening on this port
sudo ss -tulpn | grep ':1194 'Windows (PowerShell): what is listening
Get-NetTCPConnection -LocalPort 1194 -State Listen | Select-Object LocalAddress, OwningProcess, @{n='Process';e={(Get-Process -Id $_.OwningProcess).Name}}From another machine: is it reachable
nc -zv HOST 1194
# or
nmap -p 1194 HOST
# Windows
Test-NetConnection HOST -Port 1194Open port 1194 in the firewall
ufw (Ubuntu, Debian)
sudo ufw allow 1194/udp
sudo ufw allow 1194/tcpfirewalld (RHEL, Rocky, Alma, Fedora)
sudo firewall-cmd --permanent --add-port=1194/udp
sudo firewall-cmd --permanent --add-port=1194/tcp
sudo firewall-cmd --reloadWindows Firewall (PowerShell, as Administrator)
New-NetFirewallRule -DisplayName "Allow 1194/UDP" -Direction Inbound -Protocol UDP -LocalPort 1194 -Action Allow
New-NetFirewallRule -DisplayName "Allow 1194/TCP" -Direction Inbound -Protocol TCP -LocalPort 1194 -Action AllowMonitor port 1194
Add a TCP port monitor for 1194 and Statance connects to it from up to six regions, alerting you by email, Slack, Discord or PagerDuty when OpenVPN stops answering. TCP port monitoring.
Related ports
| Port 51820 | WireGuard | Low risk |
| Port 500 | IKE (IPsec VPN) | Medium risk |
| Port 443 | HTTPS | Low risk |
FAQ
What is port 1194 used for?
Port 1194 is the default OpenVPN port, usually over UDP. Some deployments run OpenVPN on TCP 443 to get through restrictive firewalls.
Is it safe to open port 1194?
Usually, yes. A VPN server is meant to be reachable, and OpenVPN uses TLS with certificates, so exposure is reasonable. With tls-crypt or tls-auth, the server ignores packets that are not signed with the shared key, which hides it from scanners. Keep the server and its configuration up to date.
Is port 1194 TCP or UDP?
OpenVPN uses UDP and TCP on port 1194.
How do I check if port 1194 is open?
On the server, run sudo ss -tulpn | grep ':1194 ' (Linux) or Get-NetTCPConnection -LocalPort 1194 (Windows) to see what is listening. From another machine, run nc -zv HOST 1194 or Test-NetConnection HOST -Port 1194.
Know the moment a port stops answering.
TCP, HTTP, DNS and SSL checks from six regions, plus server metrics from a one-line agent.