Try:
 

 
# pfctl -vf /etc/pf.conf  
 

 
This will load the ruleset as well as print out what the rules translate to. It 
will also show errors if there are any.
 

 
Post what the rules translate to. I think it will be easier to read.
 
 
 

 
 
 
 
 
>  
> On Oct 21, 2017 at 8:19 AM,  <Magnus Andersson>  wrote:
>  
>  
>  Hi, Thanks for answering and taking your time to my problem. A friend 
> recommended me to ask the mailing list about my problem. I'm sorry if my 
> question is too uninformed. After a little research I now know what you mean 
> by dmesg, debug and systat. Here are my dmesg print out. I do not know how to 
> debug the problem and I tried to print systat even if I do not know if that 
> can help anyone to understand my problem. Systat looks like some sort of live 
> printout function. The question regards just the rules in my pf.conf, are 
> there an obvious misunderstandings there from my part to a more trained eye? 
> Are for example the wrong adresses forbiden in the list och forbidden 
> adresses in the beginning of the file or have I lost an inportant line of 
> code? I tried to follow the guide on setting up a router from openBSD.org 
> hompage. My openBSD version is 6.1. Regards Magnus Andrsson 2017-10-21 13:05 
> GMT+02:00 Karel Gardas :  >  Include also dmesg and try to debug this issue 
> more with systat(1)  
>  tool at least.  >   >>>  Hi,  >>>  I think something must be wrong in my 
> pf.conf file but I can't see where.  >>>  I am using openBSD as a router with 
> a LAN and a DMZ zone behind it.  >>>  What is wrong is not something sad and 
> simple i think like a wrong  >>>  IP-address or something. The setup works in 
> that i have internet i one  >>>  network and both internet and remote access 
> in the DMZ zone. But the  >>>  setup is unreliable. 
>  
     

Reply via email to