On Tue, 29 Mar 2016 08:45:11 -0700
"Adam Smith" <ken...@dcemail.com> wrote:

> Hi guys
>
> I have a syntax error in my pf rules. I hope you can help me fix it.
>
> Thanks.
>
> Adam
>
>
>
> -----snippet of my pf rules-----
>
> #This is where I change or add different IP addresses of VPN gateways
>
> vpnip="77.90.247.88, 112.119.192.26, 85.95.253.145, 31.210.111.78,
> 66.85.14.205, 54.201.110.154"
>
>
>
> #Below is the rule that OpenBSD tells me there's a syntax error
>
> pass out quick on $wan proto tcp from any to $vpnip port 443 keep
> state
>
> -----end of snippet-----
> http://www.DCpages.com
>

As a side note, commas in pf macros appear to be optional. I prefer not
to have them - they don't make rules more readable while consuming
character space.
--
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/

Reply via email to