View Single Post
  #5   (View Single Post)  
Old 20th June 2019
junk's Avatar
junk junk is offline
Port Guard
Join Date: Jun 2018
Posts: 15

I've spent at least six hours trying to make it work before starting this thread. Read the pf user's guide on Traffic Redirection (Port Forwarding), the pf.conf man page, i've taken a look at Peter Hansteen's tutorials, also tried the fwbuilder interface to see the fw compilation results:

# Rule  0 (NAT)
match in on re0 proto tcp from to port 8080 rdr-to port 80
match out on re0 proto tcp from to port 80 nat-to (re1)
I've got this in the kernel config:

test# sysctl |grep net.inet.ip
I guess it has to be studied more in depth, i wouldn't want to waste your time... I just thought it was something simple to configure.

Last edited by junk; 20th June 2019 at 01:35 PM.
Reply With Quote