Reply To: How to Run Multiple instances of OpenVPN Client-to-LAN?

Home Page Forums Network Management Networking How to Run Multiple instances of OpenVPN Client-to-LAN? Reply To: How to Run Multiple instances of OpenVPN Client-to-LAN?

#49201
securenet
Member

I entered it into the Post Boot Script and it tests successfully, but I cannot access the VPN via the new port.

I even created a new Script and I am still not able to access the VPN via the new Port. I have even restarted the server several times, and still not VPN connection using the new Port.

Example of MY SCRIPT

# Bash script: VPN-Cron

echo vpn –dev-type tap –dev VPN41 –mode server –tls-server –proto udp –port 1XXX –dh /etc/ssl/dh.pem –ca /var/register/system/openvpn/Auth/X509/CAFile –cert /var/register/system/openvpn/TLS/cert.pem –key /var/register/system/openvpn/TLS/key.pem –daemon VPN41_H2L –comp-lzo –ifconfig-pool 197.168.XXX.X 197.168.XXX.XX 255.255.255.0 –push route-gateway 197.168.XXX.254 –push redirect-gateway –push dhcp-option DNS 197.168.XXX.254 –push –client-connect /root/kerbynet.cgi/scripts/ov_connect –client-disconnect /root/kerbynet.cgi/scripts/ov_disconnect –mute 3 –management 127.0.0.1 34001 –keepalive 5 60 –duplicate-cn –client-config-dir /DB/_DB.001/var/register/system/openvpn/ccd

OPEN VPN Message

Wed Dec 09 23:29:10 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Dec 09 23:29:13 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Dec 09 23:29:14 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Wed Dec 09 23:29:16 2009 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)

Please Help