On 17 Jul 2002, Seth Zirin wrote:

> The POP3 service comes disabled as a default. Did you delete or comment
> out the "disable = yes" line in /etc/xinetd.d/ipop3 to enable the pop3
> service?
> 
> You need to restart the xinetd service with "/etc/init.d/xinetd restart"
> or send the send the xinetd process a SIGUSR2 signal for the change to
> take effect. A reboot works too.
> 
> Seth
> 
> 

I have a huge long write up of what I've tried that doesn't work, but the 
list apparently won't let me send it all at once.

xinetd and firewall SEEM to be configured correctly, but I still get 
connection refused when I try and test the port.

In the xinetd.d in ipop3d

service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
}



In rc.firewall

iptables -P INPUT ACCEPT
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD ACCEPT
iptables -F FORWARD

iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 81 -j REDIRECT --to-port 3128
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5900 -j DNAT --to-destination 
192.168.0.1
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5800 -j DNAT --to-destination 
192.168.0.1




Webserver works fine, ssh works fine, squid works fine; all from both 
inside LAN and outside.  I tried to solve this before I could never get it 
to work.

Ryan


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to