Am 12.05.2016 11:52 schrieb Gabriele Tozzi:
I did not know about the "new" parentheses feature.
It was brand-new with the 3.2 release :-)
--
pb
Thank you for all your answers.
I did not know about the "new" parentheses feature.
Solved :)
Gabriele Tozzi
--
GPG Key Fingerprint:
DAD1 E3E3 C3E9 36FB C570 F405 9B5F 7108 A1D0 2FFF
On 12 May 2016, Gabriele Tozzi wrote:
(snip)
> Then I have setup PF to allow incoming ssh traffic. Here is my rule:
>
> pass in on pppoe0 inet proto tcp to pppoe0 port ssh keep state
>
>
> The interface has a dynamic IP. I was relying on the "!/sbin/pfctl -f
> /etc/pf.conf" rule to reload my PF whe
pass in on pppoe0 inet proto tcp to (pppoe0) port ssh keep state
Von meinem Samsung Gerät gesendet.
Ursprüngliche Nachricht
Von: Gabriele Tozzi
Datum: 12.05.2016 09:45 (GMT+01:00)
An: misc@openbsd.org
Betreff: PF and interface changing IP
>From the pf.conf man page:
"Surrounding the interface name (and optional modifiers) in
parentheses changes this behaviour. When the interface name is
surrounded by parentheses, the rule is automatically updated whenever
the interface changes its address. The ruleset does not need to be
reloaded.
On Thu, May 12, 2016 at 09:36:35AM +0200, Gabriele Tozzi wrote:
> Hi there,
>
> I have a pppoe0 interface setup like this (hostname.pppoe0):
>
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev re0 \
> authproto pap \
> authname 'myuser' \
> authkey 'mypass' up
> des
Hi there,
I have a pppoe0 interface setup like this (hostname.pppoe0):
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev re0 \
authproto pap \
authname 'myuser' \
authkey 'mypass' up
dest 0.0.0.1
!/sbin/route add default 0.0.0.1
!/sbin/pfctl -f /etc/pf.conf
!/etc/rc.d/i
7 matches
Mail list logo