Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 09:55:30 -0400
From:      Manolo Valdes <admin@atenas.cult.cu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Question about ipfw
Message-ID:  <01071810003800.00399@proxy.atenas.cult.cu>
In-Reply-To: <3B554CF6.2D16B769@i-clue.de>
References:  <4917.010717@maryno.net> <3B554CF6.2D16B769@i-clue.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> > [Uu][Nn][Kk][Nn][Oo][Ww][Nn])
> > #       ;;
> > #*)
> >         if [ -r "${firewall_type}" ]; then
> >                 ${fwcmd} ${firewall_flags} ${firewall_type}
> >         fi

All this lines have been added to the default rc.firewall
so if you did not added them, someone did.

greetings
Manolito
############################################################################
> >         ${fwcmd} add divert natd ip from 192.168.1.0 to any out via ed1
> >         ${fwcmd} add divert natd ip from any to *.*.*.* in via ed1
> >         ${fwcmd} add divert all from any to any via ed1
> > 
> >         ${fwcmd} -q add 1 allow tcp from any to *.*.*.* 80 in via ed1
> >         ${fwcmd} -q add 2 allow tcp from *.*.*.* to *.*.*.* 20,21 in via ed1
> >         ${fwcmd} -q add 3 allow tcp from *.*.*.* to *.*.*.* 22 in via ed1
> >         ${fwcmd} -q add 4 allow udp from any to any 53
> >         ${fwcmd} -q add 5 allow tcp from 192.168.1.0 to any 20,21,22,139 in via ed1
> >         ${fwcmd} -q add 51 reset tcp from any to *.*.*.* 1-1024 in via ed1
> >         ${fwcmd} -q add 52 drop udp from any to any 1-1024 in via ed1
> >         ${fwcmd} -q add 53 unreach port tcp from any to *.*.*.* 1025-65535 in setup
#############################################################################
> >         ;;
> > esac
> > =========================================
> > 
> > --
> > Best regards,
> > Vasily
> > vasily@maryno.net
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> -- 
> Freundliche Grüße aus Waiblingen
> 
> Christoph Sold
> --
> Systemadministrator, i-clue GmbH, Endersbacher Str. 57, 71334 Waiblingen
> Fon: (0 71 51) 9 59 01-12, Fax: (0 71 51) 9 59 01-55, Mail: so@i-clue.de
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01071810003800.00399>