Date: Tue, 23 Nov 2004 13:43:22 -0800 From: Evren Yurtesen <yurtesen@ispro.net.tr> To: Simon Fishley <simon@millen.co.za> Cc: freebsd-stable@freebsd.org Subject: Re: Newbie Port Filter Question on 4.10stable Message-ID: <41A3AEFA.1050507@ispro.net.tr> In-Reply-To: <C6A62C455624DA4C9817D3D71ED57CF787C904@millen01.millenniumsa.co.za> References: <C6A62C455624DA4C9817D3D71ED57CF787C904@millen01.millenniumsa.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I think if your firewall is normally working fine. You can use #sh /etc/rc.firewall & (notice the & for putting it background) Because if you have last default rule to deny everything, the rc.firewall script first flushes every rule and if you are connected via ssh etc. you would get disconnected immediately and execution of rc.firewall stops, so it is not able to load the new rules. If it is on background then it will continue working till the end and put the new rules into action. Please let me know if you find any better solution :) I always use #sh rc.firewall & but there is always a better way :p Evren Simon Fishley wrote: > Hi All > > Very new to FreeBSD and google has not proved helpful for once. Running > 4.10Stable and I would like to allow traffic on port 20 on my server and I > assumed /etc/rc.firewall was the place to do so. I added a line in the file > in the same format as the rule allowing port 21 traffic but was not sure how > to restart the firewall. #sh /etc/rc.firewall was a bad idea and totally > shutdown all traffic. > > Can anyone point me to a clear resource on what I should do to start, stop > and flush the port filter rules and whether or not I was working in the > correct place to begin with. > > Thanks in advance > Simon > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A3AEFA.1050507>