summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-12-21 09:10:35 +0000
committerErmal <eri@pfsense.org>2012-12-21 09:10:35 +0000
commit3eeac25e995002e20edddd2d38c0ff72cc80810c (patch)
tree6c2e5814690995efc47dbfeaee2ee8d8b4a54836 /etc/inc
parentb273dd26de42ef9c004297ae8c2477d81dfb4765 (diff)
downloadpfsense-3eeac25e995002e20edddd2d38c0ff72cc80810c.zip
pfsense-3eeac25e995002e20edddd2d38c0ff72cc80810c.tar.gz
Since there is a firewall no need to do ingress checks in the routing table
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 55ca41f..3b6d6c5 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3162,6 +3162,7 @@ function interface_6rd_configure($interface = "wan") {
/* stf approach only works when embedding the entire 32 bits of the v4 */
mwexec("/sbin/ifconfig stf0 create");
+ pfSense_interface_flags("stf0", IFF_LINK2);
mwexec("/sbin/ifconfig stf0 inet6 {$rd6prefix}/{$rd6prefixlen}");
log_error("Created 6rd interface stf0 {$rd6prefix}/{$rd6prefixlen}");
@@ -3257,6 +3258,7 @@ function interface_6to4_configure($interface = "wan"){
/* setup the stf interface */
mwexec("/sbin/ifconfig stf0 destroy");
mwexec("/sbin/ifconfig stf0 create");
+ pfSense_interface_flags("stf0", IFF_LINK2);
mwexec("/sbin/ifconfig stf0 inet6 {$stflanpr} prefixlen 16");
log_error("Set IPv6 address inet6 {$stflanpr} prefixlen 16 for stf0, route {$stfbrgw}");
OpenPOWER on IntegriCloud