Allow TCP/UDP services in /etc/rc.firewall
Jacob Hart
jacob.hart+freebsd-current at gmail.com
Sun Aug 19 02:48:04 PDT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.firewall.diff
Type: text/x-patch
Size: 539 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070819/6926ae28/rc.firewall.bin
More information about the freebsd-current
mailing list