Project

General

Profile

« Previous | Next » 

Revision 9c8ce38b

Added by Jim Pingle over 8 years ago

Work around the NPt rule loading issue to load the rules as they were on previous versions. Fixes #6985

View differences:

src/etc/inc/filter.inc
1927 1927
			$natif = $FilterIflist[$natif]['descr'];
1928 1928

  
1929 1929
			$natrules .= "binat on \${$natif} from {$srcaddr} to any -> {$dstaddr}\n";
1930
			/* This second line breaks pf on pfSense 2.4/FreeBSD 11. See https://redmine.pfsense.org/issues/6985 */
1931
			$natrules .= "# binat on \${$natif} from any to {$dstaddr} -> {$srcaddr}\n";
1930
			/* pf won't accept 'any' here on pfSense 2.4/FreeBSD 11 but will happily take '::/0'. See https://redmine.pfsense.org/issues/6985 */
1931
			$natrules .= "binat on \${$natif} from ::/0 to {$dstaddr} -> {$srcaddr}\n";
1932 1932

  
1933 1933
		}
1934 1934
	}

Also available in: Unified diff