Project

General

Profile

« Previous | Next » 

Revision 842beb79

Added by Scott Ullrich almost 19 years ago

Cover the tcp case since Alan swears up and down it is not being invoked correctly.

See http://forum.pfsense.org/index.php/topic,2043.0.html

View differences:

etc/inc/filter.inc
1968 1968
                                                                                $ipfrules .= "pass in quick on \${$ifname_real} inet proto udp from any to \$loopback port {$starting_localhost_port} keep state label \"NAT REFLECT: Allow traffic to localhost\"\n";
1969 1969
                                                                                break;
1970 1970
                                                                        case "tcp":
1971
                                                                                $protocol = $rule['protocol'];
1972
                                                                                $ipfrules .= "pass in quick on \${$ifname_real} inet proto udp from any to \$loopback port {$starting_localhost_port} keep state label \"NAT REFLECT: Allow traffic to localhost\"\n";
1973
                                                                                break;
1971 1974
                                                                        case "udp":
1972 1975
                                                                                $protocol = $rule['protocol'];
1973 1976
                                                                                $ipfrules .= "pass in quick on \${$ifname_real} inet proto udp from any to \$loopback port {$starting_localhost_port} keep state label \"NAT REFLECT: Allow traffic to localhost\"\n";

Also available in: Unified diff