Hi.
On Mon, Mar 10, 2003 at 11:24:20PM -0600, Joseph A Nagy Jr wrote:
[EMAIL PROTECTED]:~$ telnet jan-jr-ent.homelinux.org 80 Trying 24.158.191.171... telnet: Unable to connect to remote host: Connection refused [EMAIL PROTECTED]:~$
I assume you and the web server are behind a masquerading router. If that is the case, trying to access the outside IP of the router will fail, because the forwarding rules will not be triggered. Except you have take precautions in this regard, of course.
Here are known good iptables rules for SMTP, edit as necessary:
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 25 -j DNAT \ --to `host balrog | sed -e 's/^.*address //'`:25 iptables -I FORWARD 2 -o eth0 -p tcp --dport 25 -j ACCEPT
Cheers, Nick
[EMAIL PROTECTED]:~$ iptables -t net -A PREROUTING -i ppp0 -p t cp --dport 25 -j DNAT \ --to 'host balrog | sed -e 's/^.*address //' :25 >
It brings me a gt sign prompt. I'm off to read the iptables how to as I'm not sure what I need to change.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]