Ok. Now it's working...great.
Thankx Scott

~Alvaro



----- Original Message ----- From: "Scott Ullrich" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 29, 2006 5:28 PM
Subject: Re: [pfSense Support] OpenVPN pf rules


The startup order appears to be wrong.  Please cvs_sync.sh releng_1 &&
shutdown -r now and test again.  Thanks.

On 6/29/06, D.Pageau <[EMAIL PROTECTED]> wrote:
On 6/29/2006 9:58 AM, Scott Ullrich wrote:
> You did reboot after running this command, right?
>

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";
        }
}

--
Dominic Pageau <[EMAIL PROTECTED]>

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



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






--------((((((( Internet Email Confidentiality Footer )))))))--------

This e-mail, including any attachments, may contain information that is
protected by law as privileged and confidential, and is transmitted for
the sole use of the intended recipient.  If you are not the intended
recipient, you are hereby notified that any use, dissemination, copying
or retention of this e-mail or the information contained herein is
strictly prohibited.  If you have received this e-mail in error, please
notify immediately the sender by telephone or reply by e-mail, and
permanently delete this e-mail from your computer system.
The statements and opinions expressed in this e-mail message are
those of the author of the message and do not necessarily represent
those of List Group S.p.A. Besides, the contents of this message
shall be understood as neither given nor endorsed by List Group S.p.A.
List Group S.p.A. does not accept liability for corruption, interception or
amendment, if any, or the consequences thereof.
-----------------------------------------------------------------------

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

Reply via email to