On 6/29/2006 10:27 AM, D.Pageau wrote:
I'm digging in the .php code, it look like tun interface are not there when this code is executed.

For example, if a change "for($x=0; $x<5; $x++)" and comment out "if(does_interface_exist("tun{$x}") == true)" rules are added to rules.debug.

/* openvpn tun interfaces.  check for 100. */
for($x=0; $x<100; $x++) {
    if(does_interface_exist("tun{$x}") == true) {
$rule .="pass out quick on tun{$x} all keep state label \"let out anything from firewall host itself openvpn\"\n"; $rule .="pass in quick on tun{$x} all keep state label \"let out anything from firewall host itself openvpn\"\n";
    }
}

> On 6/29/2006 11:28 AM, Scott Ullrich wrote:
>> The startup order appears to be wrong.  Please cvs_sync.sh releng_1 &&
>> shutdown -r now and test again.  Thanks.

Problem is back...

1.0-SNAPSHOT-09-21-06
built on Sat Sep 23 00:46:42 UTC 2006

change "for($x=0; $x<5; $x++)" and comment out "if(does_interface_exist("tun{$x}") == true)" and pass rules for tunX are now added.

--
Dominic Pageau <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to