[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] tcp-server: bind: permission denied


  • Subject: Re: [Openvpn-users] tcp-server: bind: permission denied
  • From: christian laubscher <christian.laubscher@xxxxxxxxxxxxx>
  • Date: Sun, 8 Feb 2004 17:24:50 +0100

>   I'm trying to run in tcp-server mode, but if someone 
> disconnects before proper negotiation happens, the server 
> exits (which I don't want it to, I want it to keep listening 
> for connections whether someone connects succesfully or 
> not). Here is the log:

[...]

>  I'm running the server like this:
> 
>     /usr/sbin/openvpn --cd /etc/openvpn --user openvpn --group openvpn
> --writepid /var/run/openvpn/smurf.pid --config smurf.conf;

user is non-root

> 
>  and my smurf.conf:
> 
> lport 443

and a privileged port...


either run it as root or with a port>=1024...

(if 443 is a must and root is nono, you still can dnat it from 443 to 
say 5009)

-- 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users