From 3c8803dc8b5088d276396d3084e26d4cb579cccf Mon Sep 17 00:00:00 2001 From: Austin Robertson Date: Fri, 28 Sep 2018 18:20:02 -0500 Subject: [PATCH] make sure interfaces are up, in promiscuous mode --- bin/pfatt.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bin/pfatt.sh b/bin/pfatt.sh index 811782a..27cec99 100755 --- a/bin/pfatt.sh +++ b/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!"