the syntax should be like this:
pass in on $int_if from <VoIP> to ! <redeOscar> route-to ($int_if $cosmo)

On Thu, Nov 1, 2012 at 1:28 PM, Fernando Braga <fermbr...@gmail.com> wrote:
> Hi,
>
> I had this pf rules
>
> int_if = "trunk1"
> cosmo = 172.16.99.249
>
> pass in on $int_if from <VoIP> to ! <redeOscar> route-to $cosmo@$int_if
>
> However, when I issue a pfctl -sr, I get
>
> pass in on trunk1 inet from <VoIP> to ! <redeOscar> flags S/SA route-to
> 172.16.99.249@$int_if
>
> Shouldn't this @$int_if be translated to trunk1 ?
>
> Is there another way to acomplish this ?
>
> Best regards,
>
> --
> Fernando M. Braga
> +55 82 9636-2810

Reply via email to