From 07785e2839f313dd04ad2590075f2bd103668b24 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 3 Apr 2017 20:40:45 -0600 Subject: [PATCH] Create pf.conf --- freebsd/resources/pf/pf.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 freebsd/resources/pf/pf.conf diff --git a/freebsd/resources/pf/pf.conf b/freebsd/resources/pf/pf.conf new file mode 100644 index 0000000..67dc6b5 --- /dev/null +++ b/freebsd/resources/pf/pf.conf @@ -0,0 +1,34 @@ +set skip on lo0 +pass out quick all +scrub in all + +antispoof for lo0 +table persist + +block in all +block in quick from +#pass in quick inet proto icmp all +#pass in quick inet6 proto icmp6 all + +pass in quick inet proto tcp from any to any port 22 keep state +pass in quick inet proto tcp from any to any port 80 keep state +pass in quick inet proto tcp from any to any port 443 keep state +pass in quick inet proto tcp from any to any port 5060 keep state +pass in quick inet proto udp from any to any port 5060 keep state +pass in quick inet proto tcp from any to any port 5080 keep state +pass in quick inet proto udp from any to any port 5080 keep state +pass in quick inet proto udp from any to any port 16384:32768 keep state + + + + + + + + + + + + + +