krizeto
Hey guys, I'm new to the forum.
I built a server for clients from different offices to connect to our main office. I configured the the server so 50 clients can connect to the server via UDP. Everybody connects without a problem, but there is one office where the client's packets never make it to the server.
I configured rc.local to run a script that creates all listening tunnels on startup. It looks like this:
/usr/sbin/openvpn --dev tun1 --secret /xxx/xxxxxxx.key --comp-lzo --port 1234--proto udp --verb 0 --script-security 1 --daemon --ping 30 --ping-restart 120 --log none --status /xxx/xxxxxxx.log
/usr/sbin/openvpn --dev tun2 --secret /xxx/xxxxxxx.key --comp-lzo --port 1235 --proto udp --verb 0 --script-security 1 --daemon --ping 30 --ping-restart 120 --log none --status /xxx/xxxxxxx.log
I created one that is supposed to listen on tcp :
/usr/sbin/openvpn --dev tun3 --secret /xxx/xxxxxxx.key --comp-lzo --port 1236 --proto tcp --verb 0 --script-security 1 --daemon --ping 30 --ping-restart 120 --log none --status /xxx/xxxxxxx.log
When I netstat to see if the port is listening I only see the UDP ports listening. The TCP one is missing. The port on the firewall is open. Like I said, clients connecting via UDP have absolutely no problem connecting to the server.
Do i have to configure something else on the server to listen for this tcp connection? Thanks in advance