netstat not showing OpenVPN listening on port 1194

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kev972
OpenVpn Newbie
Posts: 1
Joined: Sun Jun 21, 2015 3:35 pm

netstat not showing OpenVPN listening on port 1194

Post by kev972 » Sun Jun 21, 2015 3:44 pm

Hi,
Im trying to setup OpenVPN in bridge mode on ubuntu 15.04 and i have a lot of pain with it.
I followed the official ubuntu tutorial https://help.ubuntu.com/community/OpenVPN
My OpenVPN server is behind an ASA firewall and port forwarding are setup correctly (port 1194 is open on the outside interface forwarding 1194 traffic to host 10.10.10.200 which is my openvpn server).
So my ASA configuration is fine.
I issued a netstat -l on the openvpn server, and it seems that it does not listen on port 1194 while openvpn service are started en running without error.

root@ubuntu:/etc/openvpn# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 13077 /run/uuidd/request
unix 2 [ ACC ] STREAM LISTENING 13080 /run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 13082 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 13085 /var/run/pcscd/pcscd.comm
unix 2 [ ACC ] SEQPACKET LISTENING 10353 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 10163 /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 10172 /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 10448 /run/systemd/fsckd
unix 2 [ ACC ] STREAM LISTENING 15577 /run/user/0/systemd/private


root@ubuntu:/etc/openvpn# ufw status
Status: active

To Action From
-- ------ ----
22 ALLOW Anywhere
1194/udp ALLOW Anywhere
1194 ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
1194/udp (v6) ALLOW Anywhere (v6)
1194 (v6) ALLOW Anywhere (v6)

Can someone explain me what is going on?
I always had a undescriptible pain to setup OpenVPN!

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: netstat not showing OpenVPN listening on port 1194

Post by maikcat » Mon Jun 22, 2015 5:52 am

openvpn configs & logs used?

Michael.

Post Reply