Find the answer to your Linux question:
Results 1 to 2 of 2
Does anybody know where I can find a tutorial or overview over iptables configuration on Debian? I am not after the iptables config. syntax, but how iptables is started/stoped etc, ...
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    2

    ipyables

    Does anybody know where I can find a tutorial or overview over iptables configuration on Debian? I am not after the iptables config. syntax, but how iptables is started/stoped etc, as I want to use my own config file.

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,814
    Quote Originally Posted by Tjebychef
    I want to use my own config file.
    I don't think iptables is started and stopped like other services: I think it is started from within the kernel. You can kill all iptables rules with the following:
    Code:
    iptables -F
    iptables -t nat -F
    iptables -t mangle -F
    and then you can apply your own configuration. Also, you can use 'iptables-save' to write a particular configuration to a file which can then be restored with 'iptables-restore'. I hope that's helpful.
    /IMHO
    //got nothin'
    ///this use to look better

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •