View Single Post
  #3   (View Single Post)  
Old 10th July 2019
calanon calanon is offline
Port Guard
 
Join Date: Jul 2019
Posts: 38
Default

Quote:
Originally Posted by jggimi View Post
Hello and welcome!

I'm not sure what guidance you would need. There's an authpf(8) man page, and there's a chapter on authpf in the PF User's Guide. Both should help. In particular, the PF User's Guide chapter has examples.
Hello and thank you for your reply. I am quite new to pf and I just, after reading the user guide, understand if I am using the correct syntax.

I used the rdr-to but the only examples I find pertain to redirecting to an IP and not a whole network in the DMZ.

Am I approaching this incorrectly?

So as I explained from my client I ssh to lets say 192.168.100.1 this authenticates me with authpf to enter the DMZ network 192.168.14.0/24. I can't seem to get this working.

This is what I have done so far:

authpf is running and I have a blank authpf.rules file globally.
I have allowed incoming ssh and ping for the interface that holds the IP 192.168.100.1

from there I am lost.... I read that you have to use anchors etc but I cannot seem to figure this out.

Do you or are there any real world examples that will help me?

Many thanks in anticipation!
Reply With Quote