Thread: authpf setup
View Single Post
  #1   (View Single Post)  
Old 19th January 2012
dbach dbach is offline
Port Guard
 
Join Date: Aug 2011
Posts: 23
Unhappy authpf setup

Hello:
Been reading man pages and information online and not having any luck setting up authpf. Here's what I have so far

last line in /etc/pf.conf
anchor "authpf/*"

used adduser created regular user and using chsh change from /bin/ksh to /usr/sbin/authpf, also made their class type authpf

in /etc/authpf have the following:

authpf.allow - no content

authpf.conf - no content

authpf.rules
external_if = "pcn0"
pass in quick on $external_if proto tcp from $user_ip to any
pass in quick on $external_if from $user_ip to any

When I try to login as the user with shell set to /usr/sbin/authpf it shows:
Last unsuccessful login: <date>
Last login:
Welcome to: <hostname>

Then back to login prompt.

Any guidance or suggestions would be appreciated.
Thanks,
Darryl
Reply With Quote