On Fri, 14 Jun 2002, David Busby wrote:
> List,
> I got it in 4 commands!! This is really awesome (RTFM(x2))
>
> My Commands:
>
> ; Load up the ip_tables gig
> # modprobe ip_tables
> # modprobe iptable_nat
In the FWIW category, the redhat commands:
service ipchains stop # may not be necessay
service iptables start
chkconfig --level 2345 ipchains off
chkconfig --levle 2345 iptables on
service iptables save
And that way, when the system is rebooted you won't have to hand enter
info again.
> ; I think this blocks all incoming traffic (can someone please verify?)
> # iptables -A INPUT -I eth1 -p tcp --syn -j DROP
> ; NAT all internal traffic to the outside world, awesome!!!
> # iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list