Revision 01f5620a
Added by Colin Smith about 20 years ago
etc/inc/filter.inc | ||
---|---|---|
1000 | 1000 |
} |
1001 | 1001 |
} |
1002 | 1002 |
|
1003 |
/* XXX: Move this into a /usr/local/pkg/pf/ helper */
|
|
1003 |
/* XXX: Move this into a /usr/local/pkg/pf/ helper |
|
1004 | 1004 |
if (is_package_installed("squid") == 1) |
1005 | 1005 |
$natrules .= "rdr on " . $lanif . " inet proto tcp from any to !{$lanip} port www -> 127.0.0.1 port 3128\n"; |
1006 | 1006 |
|
1007 |
/* XXX: Move this into a /usr/local/pkg/pf/ helper */
|
|
1007 |
XXX: Move this into a /usr/local/pkg/pf/ helper
|
|
1008 | 1008 |
if (is_package_installed("frickin") == 1) { |
1009 | 1009 |
$natrules .= "rdr on " . $lanif . " inet proto tcp from any to !{$lanip} port 1723 -> 127.0.0.1 port 1723\n"; |
1010 | 1010 |
$natrules .= "rdr on " . $lanif . " inet proto gre from any to !{$lanip} -> 127.0.0.1\n"; |
1011 | 1011 |
} |
1012 |
*/ |
|
1012 | 1013 |
|
1013 | 1014 |
$natrules .= process_carp_nat_rules(); |
1014 | 1015 |
|
Also available in: Unified diff
Squid strikes again.