|
|
Aha ! Thanks for the explanation ! I forgot that non-roots
cannot do re-binds for privileged ports ...
thx,
John
On Sun, 8 Feb 2004, christian laubscher wrote:
> Date: Sun, 8 Feb 2004 17:24:50 +0100
> From: christian laubscher <christian.laubscher@xxxxxxxxxxxxx>
> Reply-To: sisyphus@xxxxxxxxxxx
> To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openvpn-users] tcp-server: bind: permission denied
>
> > 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
|