Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 03:54:53 -0000
From:      novocaine@free.fr
To:        pf4freebsd@freelists.org
Subject:   [pf4freebsd] Using authpf
Message-ID:  <1067009522.3f9945f26f90e@imp1-a.free.fr>

next in thread | raw e-mail | index | archive | help
First, I'd like to thank all the contributers of the port of pf to FreeBS=
D.

I am trying to use authpf on -CURRENT, without success so far. I'd like t=
o
enable ftp access for user "os" using authpf.

In /usr/local/etc/pf.conf, I have :
...
set block-policy return
set loginterface $ext_if
scrub in all

nat-anchor authpf
rdr-anchor authpf
binat-anchor authpf

<rules>

anchor authpf in on $ext_if

I have an empty file /usr/local/etc/authpf/authpf.conf and=20
/usr/local/etc/authpf/users/os/authpf.rules reads
$ext_if=3D"tun0"
pass in quick on $ext_if proto tcp from $user_ip to any port http

I also try to set /usr/local/sbin/authpf as os' shell (as described on
authpf(8)) but it doesn't seem to work. I had to add authpf to /etc/shell=
s.

Am I doing something wrong?

Thanks,

                          - Olivier




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1067009522.3f9945f26f90e>