make sure interfaces are up, in promiscuous mode

This commit is contained in:
Austin Robertson 2018-09-28 18:20:02 -05:00 committed by GitHub
parent e1aaa334b1
commit 3c8803dc8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,9 +65,22 @@ echo -n " removing waneapfilter:nomatch hook... "
/usr/sbin/ngctl rmhook waneapfilter: nomatch /usr/sbin/ngctl rmhook waneapfilter: nomatch
echo "OK!" echo "OK!"
echo "enabling interfaces..."
echo -n " $RG_IF ... "
/sbin/ifconfig $RG_IF up
echo "OK!"
echo -n " $ONT_IF ... "
/sbin/ifconfig $ONT_IF up
echo "OK!"
echo -n "enabling promiscuous mode on $RG_IF... " echo -n "enabling promiscuous mode on $RG_IF... "
/sbin/ifconfig $RG_IF promisc /sbin/ifconfig $RG_IF promisc
echo "OK!" echo "OK!"
echo -n "enabling promiscuous mode on $ONT_IF... "
/sbin/ifconfig $ONT_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!"