mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
PPTP on WAN fixes
http://forum.pfsense.org/index.php?topic=1184.new;topicseen#new
This commit is contained in:
parent
9a40f53436
commit
2220872ed3
@ -278,7 +278,7 @@ function filter_generate_aliases() {
|
||||
$aliases .= "loopback = \"{ lo0 }\"\n";
|
||||
$aliases .= "lan = \"{ {$config['interfaces']['lan']['if']}{$lan_aliases} }\"\n";
|
||||
|
||||
if($config['interfaces']['wan']['ipaddr'] == "pppoe") {
|
||||
if($config['interfaces']['wan']['ipaddr'] == "pppoe" or $config['interfaces']['wan']['ipaddr'] == "pptp") {
|
||||
$aliases .= "ng0 = \"{ " . $config['interfaces']['wan']['if'] . " " . get_real_wan_interface() . " }\" \n";
|
||||
$aliases .= "wan = \"{ " . get_real_wan_interface() . "{$wan_aliases} }\"\n";
|
||||
} else {
|
||||
@ -1854,7 +1854,7 @@ EOD;
|
||||
$ipfrules .= <<<EOD
|
||||
|
||||
# let out anything from the firewall host itself and decrypted IPsec traffic
|
||||
# pass out quick on $wanif all keep state label "let out anything from firewall host itself"
|
||||
pass out quick on $wanif all keep state label "let out anything from firewall host itself"
|
||||
|
||||
EOD;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user