Allow TCP/UDP services in /etc/rc.firewall

From: Jacob Hart <jacob.hart+freebsd-current_at_gmail.com>
Date: Sun, 19 Aug 2007 19:48:04 +1000
Small patch that changes workstation profile in /etc/rc.firewall to
allow UDP services.  All ports without a protocol specifier are
treated as TCP by default to keep backwards compatibility.

For example, setting

firewall_myservices="22 tcp:2000 udp:2001"

in /etc/rc.conf creates ipfw rules for tcp ports 22,2000 and udp port 2001.

-j

Received on Sun Aug 19 2007 - 07:48:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC