[lkml]   [1999]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ipfwadm in kernel 2.2.1
Fred Reimer wrote:
> Instead of ipfwadm -I -l try:
> ipchains -L
> Instead of ipfwadm -F -a accept ... try:
> ipchains -A forward -j ACCEPT ...

Or, if you've already got a script file that does multiple rules
to set up your system, use ipfwadm-wrapper instead of ipfwadm.

I put a bit of code at the beginning of my old script that does this:
if [ "`(uname -r | cut -d. -f2)`" = "0" ]
echo "using ipfwadm"
echo "using ipfwadm-wrapper for ipchains"
and changed (sed rules!) all the ipfwadm invocations to $IPFWADM :
# loopback interface
$IPFWADM -I -a accept -S -D -W lo

I did that back when I was trying out new kernels and might be
booting up either a new one or the old reliable 2.0.something.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:50    [W:0.046 / U:1.416 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site