iptables

Brian Densmore DensmoreB at ctbsonline.com
Tue Jul 9 14:47:54 CDT 2002


> -----Original Message-----
> From: Jeremy Fowler [mailto:jfowler at westrope.com]
> Sent: Tuesday, July 09, 2002 9:36 AM
> To: mgoins at kcp.com; kclug at kclug.org
> Subject: RE: iptables
> 
> 
> Oops that should have been a REJECT with tcp-reset not an 
> icmp port unreachable,
> if you want to make it look like the port is closed and not 
> filtered by a
> firewall.
> 
> So:
> 
> iptables -t nat -I PREROUTING -i <interface> --dport <port> >  -s !<address> -j REJECT 
--reject-with tcp-reset
Cool! Thanks for the tip!

Brian




More information about the Kclug mailing list