Skip to content

Script is not working in PFSense 2.6 #1

@GitTomahawk

Description

@GitTomahawk

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions