Network Access Control & Port Security (MAB, IEEE 802.1X, etc.)
Last updated 2 years ago
Set up the bridge (eth0 is connected to the switch, eth1 is connected to the authenticated client):
eth0
eth1
$ sudo ./nac_bypass_setup.sh -1 eth0 -2 eth1 [-S] [-R]
Check iptables rules:
$ sudo iptables -t nat -L
Reset all the changes (bridge interface and iptables rules):
$ sudo ./nac_bypass_setup.sh -r