[wellylug] Iptables

Tony Booth tbooth at infometrics.co.nz
Sun Feb 23 12:30:34 NZDT 2003


> -----Original Message-----
> From: Lindsay Hunter [mailto:klhunter at paradise.net.nz]
> Sent: Thursday, 20 February 2003 21:45
> To: wellylug at yahoogroups.com
> Subject: [wellylug] Iptables
> 
> 
> I am intimidated by the ambiguous instructions for iptables editing. 
>  Can I safely manually edit the file with the same result?
> 
> Lindsay
> 

Lindsay

I'm not sure if I understand your question, but here's an answer to what I
think you are asking...

There is no iptables 'file' that I am aware of.  However, many Linux distros
save the current iptable setup to a text file using the iptables-save
command, and restore it on next boot using the iptables-restore command.

My advice would be to tinker with the existing iptables setup using the
iptables command directly rather than editing the file generated by
iptables-save.  Then use iptables-save to save your changes permanently.

There are some excellent and not too technical instructions for iptables
here:
http://www-105.ibm.com/developerworks/education.nsf/linux-onlinecourse-bytit
le/A7F41AE725B03E1D86256A46005DB972?OpenDocument (registration required, but
I highly recommend the tutorials on this site)

and here:
http://www.netfilter.org/unreliable-guides/ (packet filtering and NAT -- no
registration required, but a little harder to understand)

Cheers
Tony

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the wellylug mailing list