diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-06 20:34:57 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-06 20:34:57 +0000 |
commit | 4700831c1ddae95ed86e4b5e4ee0e031cc256a5f (patch) | |
tree | 7f67966db8b27ab2935d1793aa47f7ed20bf31c0 /packages | |
parent | 434bfc6b78f12200f486f0b5e78eb56fdd7095c2 (diff) | |
download | pfsense-packages-4700831c1ddae95ed86e4b5e4ee0e031cc256a5f.tar.gz pfsense-packages-4700831c1ddae95ed86e4b5e4ee0e031cc256a5f.tar.bz2 pfsense-packages-4700831c1ddae95ed86e4b5e4ee0e031cc256a5f.zip |
Force doorman to use the WAN interface.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/doorman.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/doorman.xml b/packages/doorman.xml index b2337d67..7c3de661 100644 --- a/packages/doorman.xml +++ b/packages/doorman.xml @@ -75,7 +75,12 @@ global $config; $fout = fopen("/usr/local/etc/doormand/doormand.cf","w"); fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); - $int = convert_friendly_interface_to_real_interface_name($_POST['interface']); + /* + * $int = convert_friendly_interface_to_real_interface_name($_POST['interface']); + * fwrite($fout, "interface " . $int . "\n"); + */ + + $int = convert_friendly_interface_to_real_interface_name(wan); fwrite($fout, "interface " . $int . "\n"); if($_POST['port'] != "") fwrite($fout, "port " . $_POST['port'] . "\n"); if($_POST['inittimeout'] != "") fwrite($fout, "waitfor " . $_POST['inittimeout'] . "\n"); |