enable promiscuous mode by default

This commit is contained in:
aus 2018-09-25 22:22:45 -05:00
parent c1cfff52b9
commit e1aaa334b1
2 changed files with 5 additions and 1 deletions

View file

@ -219,7 +219,7 @@ If you don't see traffic being bridged between `ngeth0` and `$ONT_IF`, then netg
## Promiscuous Mode ## Promiscuous Mode
I had to put my `$RG_IF` in promiscuous mode with `/sbin/ifconfig $RG_IF promisc`. Otherwise, the EAP packets would not bridge. I'm not sure if this is due to my USB NIC or a requirement for everyone. `pfatt.sh` will put `$RG_IF` in promiscuous mode via `/sbin/ifconfig $RG_IF promisc`. Otherwise, the EAP packets would not bridge. I think this is necessary for everyone but I'm not sure. Turn it off if it's casuing issues.
## netgraph ## netgraph

View file

@ -65,5 +65,9 @@ echo -n " removing waneapfilter:nomatch hook... "
/usr/sbin/ngctl rmhook waneapfilter: nomatch /usr/sbin/ngctl rmhook waneapfilter: nomatch
echo "OK!" echo "OK!"
echo -n "enabling promiscuous mode on $RG_IF... "
/sbin/ifconfig $RG_IF promisc
echo "OK!"
echo "ngeth0 should now be available to configure as your pfSense WAN" echo "ngeth0 should now be available to configure as your pfSense WAN"
echo "done!" echo "done!"