lkml.org 
[lkml]   [1998]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ipfwadm on Version 2.1.102
Date
In message <355E0B22.1A31BABA@CSUPomona.edu> you write:
> #ipfwadm -I -a deny -W ppp0 -P tcp -D 0/0 139
> ipchains -A input -s 0/0 -d 0/0 139:139 -i ppp0 -p tcp -j DENY

Well, better is:
ipchains -A input -d 0/0 139 -i ppp0 -p tcp -j DENY

-s 0/0 is the default, and you don't need a range...

> Hope that helped. It took me a little under an hour to get the
> translation right, but it works. If you use the "ipchains-save" and
> "ipchains-restore" commands, you can replace all the ipchains calls in
> the startup script with one simple "ipchains-restore
> /path/to/ipchain.config"

Of course, you have to have the latest ipchains-save, which actually
works as documented (been on the web page for *minutes* now).

Thanks for the examples.
Rusty.
--
.sig lost in the mail.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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