mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/upnp: follow up on previous
PR: https://forum.opnsense.org/index.php?topic=4766.0
This commit is contained in:
@@ -211,7 +211,8 @@ function miniupnpd_configure_do($verbose = false)
|
||||
$config_text .= "enable_upnp=" . ( $upnp_config['enable_upnp'] ? "yes\n" : "no\n" );
|
||||
$config_text .= "enable_natpmp=" . ( $upnp_config['enable_natpmp'] ? "yes\n" : "no\n" );
|
||||
|
||||
/* configure default lifetimes */
|
||||
/* configure lifetimes to force periodic expire */
|
||||
$config_text .= "clean_ruleset_interval=600\n";
|
||||
$config_text .= "min_lifetime=120\n";
|
||||
$config_text .= "max_lifetime=86400\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user