Date: Fri, 7 Feb 2020 09:05:46 +0300 From: Andreas X <hamdi20193d@gmail.com> To: Kristof Provost <kp@freebsd.org>, freebsd-questions@freebsd.org Subject: Re: ipfw for udp on FreeBSD 12.1? Message-ID: <CAEW8WPv%2BV60Qs1LvznHR6gpoyPtU9DRKJbiYpG58h57jb=onFQ@mail.gmail.com> In-Reply-To: <20200205213024.GA9143@vega.codepro.be> References: <CAEW8WPvyNLz%2Bwthr7aBPwTb9wh=E3skm2Qy2pS2BK0QcXN_MMg@mail.gmail.com> <20200205213024.GA9143@vega.codepro.be>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you so much Kristof, That worked! Regards. Kristof Provost <kp@freebsd.org>, 6 =C5=9Eub 2020 Per, 00:30 tarihinde =C5= =9Funu yazd=C4=B1: > On 2020-02-06 00:21:10 (+0300), Andreas X <hamdi20193d@gmail.com> wrote: > > Hello. > > > > I use ipfw with options such as: firewall_type=3D"workstation" and > > firewall_myservices=3D"21 22 80 443" for my server via rc.conf file. > > > > I need to add an UDP port range to allow, for vsftpd (PASV). However ip= fw > > doesn't has any settings as I heard and "firewall_myservices" only > supports > > TCP ports. Any idea how to manage that issue? > > > > The internet has a lot of tutorials for adding "firewall_myservices_tcp= " > > "firewall_myservices_udp" support, none of them worked for 12.1 > > > > And, anyone got any idea why FreeBSD 10 supports such tags for IPFW, bu= t > > 12.1 not? > > > > > https://svnweb.freebsd.org/base/head/etc/rc.firewall?view=3Dmarkup&pathre= v=3D273201 > > I'd expect firewall_myservices=3D"53/udp" to open UDP port 53. > > As per that commit message you should update your existing services to > be 21/tcp and such. > > Regards, > Kristof >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW8WPv%2BV60Qs1LvznHR6gpoyPtU9DRKJbiYpG58h57jb=onFQ>