diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-01-06 22:24:29 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-01-06 22:25:06 -0600 |
commit | b93bb38c8c8e9b35d14df2afe1d671ecaa3839ac (patch) | |
tree | 7bdf9a64071a9719d7947f3ba1319513221143f3 | |
parent | a518c507ca6006393d994457f90ae7583bafa2b0 (diff) | |
download | pfsense-b93bb38c8c8e9b35d14df2afe1d671ecaa3839ac.zip pfsense-b93bb38c8c8e9b35d14df2afe1d671ecaa3839ac.tar.gz |
Set secure_mode=yes in miniupnpd config. Ticket #5627
-rw-r--r-- | src/usr/local/pkg/miniupnpd.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/pkg/miniupnpd.inc b/src/usr/local/pkg/miniupnpd.inc index 8b258e0..ecf187b 100644 --- a/src/usr/local/pkg/miniupnpd.inc +++ b/src/usr/local/pkg/miniupnpd.inc @@ -224,6 +224,9 @@ $config_text .= "system_uptime=yes\n"; } + /* set secure_mode */ + $config_text .= "secure_mode=yes\n"; + /* set webgui url */ if (!empty($config['system']['webgui']['protocol'])) { $config_text .= "presentation_url={$config['system']['webgui']['protocol']}://{$webgui_ip}"; |