I am configuring OpenVPN in Ubuntu but unable to add 1194 port in UFW firewall [closed]

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 201  bytes 17137 (17.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 201  bytes 17137 (17.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.8.0.1  netmask 255.255.255.0  destination 10.8.0.1
        inet6 fe80::79dc:6c8b:d559:76e1  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7  bytes 336 (336.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
sysadmin@vpn:~$ telnet localhost 1194
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Answer

Attribution
Source : Link , Question Author : Krishna Pillai , Answer Author : Community

Leave a Comment