Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.

Authpf freebsd

  • 07-12-2005 02:58PM
    #1
    Registered Users, Registered Users 2 Posts: 326 ✭✭


    Hey everyone,

    I have a nylon socks server installed on FreeBSD 5.4 in college and I want to lock it off to all users who authenticate over SSH as nylon only supports locking it off to IP addresses or ranges.

    In my /etc/pf.rules I have:
    anchor authpf
    

    Just underneath all of my pass rules.

    And in /etc/authpf/authpf.rules I have:
    int_if="fxp0"
    pass in on $int_if proto tcp from $user_ip to $int_if port 1080 flags S/SA keep state
    

    I also have a blank /etc/authpf/authpf.conf file. But when someone logs in under SSH they cannot access port 1080. Am I missing something critical to the authpf setup???

    Any help greatly appreciated as this is starting to really wreck my head.


Comments

  • Registered Users, Registered Users 2 Posts: 326 ✭✭schrodinger


    could someone move this to Unix I place it in the wrong board.

    Thanks.


Advertisement