[ale] new to IPTABLES
Dean
dean777 at bellsouth.net
Sat Jan 12 01:41:50 EST 2002
<span style='font-size:10.0pt;
font-family:Arial'>Iâm kind of new to IPTABLES.<span
style='mso-spacerun:yes'>Â My boss pointed me to a firewall and said fix
it. Well Iâm kind of stuck. The
firewall is constructed on linux 7.1 kernel 2.4.2-2.
It seems like not matter how the simple the rule is that I put in the firewall
script I get no response. The script runs with out errors. I flushed the
firewall before every build and ran the zero function.<span
style='mso-spacerun:yes'>Â The best response I get is that if I apply
the rules,
<span style='font-size:10.0pt;
font-family:Arial'>Â
<span style='font-size:10.0pt;
font-family:Arial'>/sbin/iptables -A INPUT<span
style='mso-spacerun:yes'>Â Â -s 0/0 -p tcp --<span
class=SpellE>dport <font
size=2 face=Arial>23:23<font
size=2 face=Arial><span
style='mso-spacerun:yes'>Â Â Â Â -j DROP
<span style='font-size:10.0pt;
font-family:Arial'>/sbin/iptables -A INPUT<span
style='mso-spacerun:yes'>Â Â -s 0/0 -p tcp
--sport <span
style='font-size:10.0pt;font-family:Arial'>23:23<font
size=2 face=Arial><span
style='mso-spacerun:yes'>Â Â Â Â -j DROP
<span style='font-size:10.0pt;
font-family:Arial'>Â
<span
style='font-size:10.0pt;font-family:Arial'>the<font
size=2 face=Arial> firewall
will timeout trying to connect, I would expect to get a connection refused
message. If I remove the rule I get
right in. I also applied a simple HOST
forwarding rule that should forward the incoming telnet connection to an
internal server. When I execute this
script I get the same thingâ¦. Timeout while trying to
connect. A can telnet to the server fine from the
internal network. Iâm not
sure what to try next? Any help is
appreciated.
<span style='font-size:10.0pt;
font-family:Arial'>Â
<span style='font-size:10.0pt;
font-family:Arial'>Dean
<span style='font-size:10.0pt;
font-family:Arial'>Â
More information about the Ale
mailing list