Project

General

Profile

« Previous | Next » 

Revision dbf71e78

Added by Scott Ullrich over 20 years ago

Add a anchor for carp rules

View differences:

etc/inc/filter.inc
824 824
			} else {
825 825
				if($rule['protocol'] == "tcp/udp")
826 826
					$natrules .=
827
					 "rdr on $natif proto { tcp udp } from any to {$extaddr} port {$extport[0]}:{$extport[1]} -> {$target} port {$extport[0]}:*"; 
827
					 "rdr on $natif proto { tcp udp } from any to {$extaddr} port {$extport[0]}:{$extport[1]} -> {$target} port {$extport[0]}:*";
828 828
				else
829 829
					$natrules .=
830 830
					 "rdr on $natif proto " . $rule['protocol']. " from any to {$extaddr} port {$extport[0]}:{$extport[1]} -> {$target} port {$extport[0]}:*";
......
955 955
pass in quick on lo0 all label "pass loopback"
956 956
pass out quick on lo0 all label "pass loopback"
957 957

  
958
# carp
959
anchor "carp"
960

  
958 961
# enable ftp-proxy
959 962
anchor "ftpproxy"
960 963
pass in quick on $wanif inet proto tcp from port 20 to ($wanif) user proxy flags S/SA keep state

Also available in: Unified diff