Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: simpleone on July 16, 2002, 01:31:11 PM

Title: ipchains
Post by: simpleone on July 16, 2002, 01:31:11 PM
If i run these to commands is it going to reck any of the ipchains that are there by befault


# ipchains -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j account
# ipchains -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j account


# ipchains -A account -s /255.255.255.255 -d ! YOUR_NET/YOUR_MASK -b
The -b because we want to make a bidirectional rules: one with -s & -d
reversed are automaticly created.(_only for ipchains_)