From e1aaa334b1b07a87545afa9a32c20f88a9992e6c Mon Sep 17 00:00:00 2001 From: aus Date: Tue, 25 Sep 2018 22:22:45 -0500 Subject: [PATCH] enable promiscuous mode by default --- README.md | 2 +- bin/pfatt.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc40905..a5911be 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,7 @@ If you don't see traffic being bridged between `ngeth0` and `$ONT_IF`, then netg ## 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 diff --git a/bin/pfatt.sh b/bin/pfatt.sh index 95b6f8c..811782a 100755 --- a/bin/pfatt.sh +++ b/bin/pfatt.sh @@ -65,5 +65,9 @@ echo -n " removing waneapfilter:nomatch hook... " /usr/sbin/ngctl rmhook waneapfilter: nomatch 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 "done!"