Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: galorin on April 20, 2005, 07:50:40 PM

Title: OpenVPN errors
Post by: galorin on April 20, 2005, 07:50:40 PM
am trying to set up the OpenVPN, and am getting a siocdelrt: No Such Process alert.  I've done everything according to the howto, but I'm not sure if I've missed something.  The clients can't connect with a"No Server Vertification Method has been enabled" error.

Here is my server.conf config file:

port 1194
dev tap

tls-server

dh dh1024.pem
ca ca.crt
cert server.crt
key server.key

auth-user-pass-verify ./validate.sh via-env
client-disconnect ./logoff.sh

up ./openvpn.up

mode server
duplicate-cn
ifconfig 192.168.100.1 255.255.255.0

ifconfig-pool 192.168.100.100 192.168.100.200 255.255.255.0 # IP range for openvpn client

mtu-test
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ping 10
ping-restart 120

push "ping 10"
push "ping-restart 60"

push "dhcp-option DOMAIN hseq.net"             # push the DNS domain suffix
push "dhcp-option DNS 192.168.0.254"                   # push DNS entries to openvpn client
push "route 192.168.0.0 255.255.255.0 192.168.100.1" # add route to to protected network

comp-lzo
status-version 2
status openvpn-status.log
verb 3

Is there any more info required to troubleshoot?
Title: OpenVPN errors
Post by: crazybob on April 21, 2005, 01:40:22 AM
If you followed Jespers howto (which is very well done) all you will need to do is chmod 700 /etc/openvpn/*.up. Jespers howto missed this, and I found it by doing some searching in the forums.

Bob
Title: OpenVPN errors
Post by: galorin on April 21, 2005, 10:39:08 AM
I just ssh'd in and checked, output from ls -l /etc/openvpn/*.up

-rwx------    1 root     root          208 Apr 19 15:07 /etc/openvpn/openvpn.up

I already did the chmod.  Is there anything else server-side that I could have missed?

Looking at the user logs, it appears that there is a client-side issue.  I'll need to grab the Linux client stuff so I can check from here.