-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I like your approach to have two firewalls at just one link,
but in current version the script does just a DHCP release but does not bring down the physical Interface.
The switch still sees the MAC Adress at the port and might transfer packets to it instead of using the active firewall port.
I added ifconfig to bring down the port to get it fully working.
$if = get_real_wan_interface();
exec("/sbin/ifconfig {$if} down");
and
exec("/sbin/ifconfig {$if} up");
Hint: All Files need executable permission set!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels