On Oct 30, 2006, at 14:56, [EMAIL PROTECTED] wrote:

Creating TCP socket 0.0.0.0:25 Permission denied when Qpsmtpd- forkserver
started in port 25.
No service was using port 25. It started in port 2525 successfully.

You have to run tcpserver as root to bind to port 2525.

One neat way (on Linux) to use port 25 without having to start anything as root is to use iptables to redirect port 25 to for example port 2525.

iptables -A PREROUTING -d 10.50.10.10 -p tcp -m tcp --dport 25 -j REDIRECT --to-ports 2525 iptables -A OUTPUT -d 10.50.10.10 -p tcp -m tcp --dport 25 -j REDIRECT --to-ports 2525

(replace 10.50.10.10 with your actual IP)

You can do something similar on other platforms, but the syntax is obviously different.


 - ask

--
http://askask.com/  - http://develooper.com/


Reply via email to