garywill / linux-router

Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️ (也欢迎关注B站 https://space.bilibili.com/2123686105 )
GNU Lesser General Public License v2.1
1.67k stars 148 forks source link

Now MAC filter deny is supported. (Only accept was supported.) #43

Open zaibaq opened 1 year ago

zaibaq commented 1 year ago

This is to support --mac-filter-deny after only --mac-filter-accept was supported.

Use: If you want to use deny acl, use the option --mac-filter-deny. Similarly for accept acl, use --mac-filter-accept. Obviously, you cannot use both options at the same time. If you want to set a specific path for the mac addresses file, whether you're using deny or accept, you need to set the option --mac-filter-file <MAC_ADDRESSES_FILE>.

zaibaq commented 1 year ago

Any updates regarding this? @garywill

garywill commented 1 year ago

Hi, @zaibaq . Thank you for sending PR to us.

Your commit has 300+ lines changes, which is too hard for us to review. Please make a freshnew commit (based on the latest commit in master branch) containing only the feature part. Ignore those blanks, exclude them from commit.

You can use some GUI tool to choose lines to put into a commit, like git gui, gitg, git-cola`