Port 1194: OpenVPN

Port 1194 (TCP/UDP) is used by OpenVPN. Default OpenVPN port; UDP is faster, TCP passes stricter firewalls.

1194Port
TCP/UDPProtocol
openvpnIANA service name
VPN & proxyCategory

Port range

1194 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 1194 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 1194 in a firewall

ufw         sudo ufw allow 1194/tcp
            sudo ufw allow 1194/udp
iptables    sudo iptables -A INPUT -p tcp --dport 1194 -j ACCEPT
            sudo iptables -A INPUT -p udp --dport 1194 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=1194/tcp
            sudo firewall-cmd --permanent --add-port=1194/udp
Windows     New-NetFirewallRule -DisplayName "OpenVPN 1194" -Direction Inbound -Protocol TCP -LocalPort 1194 -Action Allow

Check if port 1194 is open

nc -vz example.com 1194
Test-NetConnection example.com -Port 1194   # PowerShell
sudo ss -tulpn | grep ':1194 '   # what is listening locally (Linux)

Other vpn & proxy ports

Frequently asked questions

What is port 1194 used for?
OpenVPN. Default OpenVPN port; UDP is faster, TCP passes stricter firewalls.
Is port 1194 TCP or UDP?
Both are assigned. Check which one your software actually listens on.