adam on Tue, 21 Sep 1999 11:28:45 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Plug] ipfwadm rules questions


Ok, I have a question about ipfwadm
I know ipchains is more current, but 
I am working with the linuxrouter project
and that uses an older kernel.
Here are my rules:

ipfwadm -F -f; ipfwadm -I -f; ipfwadm -O -f; ipfwadm -A -f #flush
everything
ipfwadm -F -p deny  #deny forwarding
ipfwadm -I -p deny  #deny incoming 
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0    #allow inside ip's to
get out
ipfwadm -I -a accept -S 204.5.105.0/24 -D  "$NETWORK2"/24   #allow
incoming from 
ipfwadm -I -a accept -S 204.5.104.0/24 -D  "$NETWORK2"/24   #subnets 
ipautofw -A -r tcp 21 23 -h 192.168.1.2    #forward on ports 21 and 23
for telnet and ftp

can anyone see any glaring errors in here? I think this should about do
it.  Lock
down the machine to everyone but my defined subnets, and allow in
connections
from those two subnets to ports 23 and 21...

Thanks

                Where do you think you're going today?

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug