[fw-wiz] Ipchains blocking Sendmail
From: csobre (csobre@bol.com.br)
Date: 09/17/02
- Next message: Gautier . Rich: "RE: [fw-wiz] Ipchains blocking Sendmail"
- Previous message: Yin To Chu: "RE: [fw-wiz] Exposed serial connection"
- Next in thread: Gautier . Rich: "RE: [fw-wiz] Ipchains blocking Sendmail"
- Maybe reply: Gautier . Rich: "RE: [fw-wiz] Ipchains blocking Sendmail"
- Reply: Dom Glavach: "Re: [fw-wiz] Ipchains blocking Sendmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "csobre" <csobre@bol.com.br> To: firewall-wizards@honor.icsalabs.com Date: Tue Sep 17 13:54:01 2002
Hi,
I have a linux machine connected to
the internet and to an internal network.
I am running Sendmail and Ipchains.
I have the following rules for
Ipchains on port 25:
# SMTP server (25)
# ----------------
ipchains -A input -i
$EXTERNAL_INTERFACE -p tcp \
--source-port $UNPRIVPORTS \
-d $IPADDR 25 -j ACCEPT
ipchains -A input -i
$LOCAL_INTERFACE_1 -p tcp \
--source-port $UNPRIVPORTS \
-d $LOCAL_IPADDR 25 -j ACCEPT
ipchains -A output -i
$EXTERNAL_INTERFACE -p tcp ! -y \
-s $IPADDR 25 \
--destination-port
$UNPRIVPORTS -j ACCEPT
ipchains -A output -i
$EXTERNAL_INTERFACE -p tcp ! -y \
-s $LOCAL_IPADDR 25 \
--destination-port
$UNPRIVPORTS -j ACCEPT
The only other ports I also ACCEPT are
53 and 113.
I can send and receive mail inside my
network, but can´t receive or send
E-mail to the internet.
After examining the Messages log there
are many lines with (Connection
refused by server) when sendmail tries
to connect to smtp servers on the
internet.
What am I missing here?
Thanks in advance.
__________________________________________________________________________
AcessoBOL, só R$ 9,90! O menor preço do mercado!
Assine já! http://www.bol.com.br/acessobol
- Next message: Gautier . Rich: "RE: [fw-wiz] Ipchains blocking Sendmail"
- Previous message: Yin To Chu: "RE: [fw-wiz] Exposed serial connection"
- Next in thread: Gautier . Rich: "RE: [fw-wiz] Ipchains blocking Sendmail"
- Maybe reply: Gautier . Rich: "RE: [fw-wiz] Ipchains blocking Sendmail"
- Reply: Dom Glavach: "Re: [fw-wiz] Ipchains blocking Sendmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|