summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-03-28 13:51:35 -0400
committerjim-p <jimp@pfsense.org>2011-03-28 13:51:35 -0400
commit75c8044aa92930b8fac64874da9cd1a4457f07a5 (patch)
treefc9fb4949373a63faa0e5d08cdc09654b429a84e /etc
parentc6dfd2892306623d5b988a0955abb6eb343f9766 (diff)
downloadpfsense-75c8044aa92930b8fac64874da9cd1a4457f07a5.zip
pfsense-75c8044aa92930b8fac64874da9cd1a4457f07a5.tar.gz
Allow TCP and UDP for DHCP failover traffic.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 4ba78b3..709d1f6 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2189,8 +2189,8 @@ EOD;
if($config['dhcpd'][$on]['failover_peerip'] <> "") {
$ipfrules .= <<<EOD
# allow access to DHCP failover on {$oc['descr']} from {$config['dhcpd'][$on]['failover_peerip']}
-pass in on \${$oc['descr']} proto udp from {$config['dhcpd'][$on]['failover_peerip']} to {$oc['ip']} port = 519 label "allow access to DHCP failover"
-pass in on \${$oc['descr']} proto udp from {$config['dhcpd'][$on]['failover_peerip']} to {$oc['ip']} port = 520 label "allow access to DHCP failover"
+pass in on \${$oc['descr']} proto { tcp udp } from {$config['dhcpd'][$on]['failover_peerip']} to {$oc['ip']} port = 519 label "allow access to DHCP failover"
+pass in on \${$oc['descr']} proto { tcp udp } from {$config['dhcpd'][$on]['failover_peerip']} to {$oc['ip']} port = 520 label "allow access to DHCP failover"
EOD;
}
OpenPOWER on IntegriCloud