[ale] iptables caching?

Robert L. Harris robert.l.harris at gmail.com
Thu Dec 4 12:58:11 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I have the following rules in my iptables script:

  $IPTABLES -A Allow --proto tcp --destination-port 25 -j ACCEPT
  $IPTABLES -A PREROUTING -t nat -p tcp -i $IFACE --dport 25 -j DNAT
- --to 10.1.1.34:25

  $IPTABLES -A Allow --proto tcp --destination-port 80 -j ACCEPT
  $IPTABLES -A PREROUTING -t nat -p tcp -i $IFACE --dport 80 -j DNAT
- --to 10.1.1.32:80

I had a typo originally that sent dport 80 to 10.1.1.32:25 which I
fixed.  I have verified
there are no other rules for port 80 but it is still sending anything
that hits port 80 to
10.1.1.32:25.  The first 2 rules are working fine though.

any ideas?

Robert

- --

:wq!
====================================================================
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for              First One Should Be A Man
       no-one else.                       - Manowar

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iD8DBQFJOBoz8+1vMONE2jsRAqUVAJ9+q9q4I/LSvfzDSncJ7NvJy3WpbgCdE0F1
T7+6N+TpRpWZjtG9TotuJJE=
=yU6z
-----END PGP SIGNATURE-----



More information about the Ale mailing list