make sure interfaces are up, in promiscuous mode
This commit is contained in:
parent
e1aaa334b1
commit
3c8803dc8b
1 changed files with 13 additions and 0 deletions
13
bin/pfatt.sh
13
bin/pfatt.sh
|
@ -65,9 +65,22 @@ echo -n " removing waneapfilter:nomatch hook... "
|
|||
/usr/sbin/ngctl rmhook waneapfilter: nomatch
|
||||
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... "
|
||||
/sbin/ifconfig $RG_IF promisc
|
||||
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 "done!"
|
||||
|
|
Loading…
Reference in a new issue