Hello all, I am trying to get packets(/curl -v) to go 192.168.2.4 > 192.168.2.5:80 > 192.168.2.21:8801
.5 middle host | cat /etc/pf.conf set skip on lo block return # block stateless traffic pass # establish keep-state pass in quick on any proto tcp from any to any port 80 rdr-to 192.168.2.21 port 8801 pass out quick on any proto tcp from 192.168.2.21 block return in on ! lo0 proto tcp to port 6000:6010 # Port build user does not need network #block return out log proto {tcp udp} user _pbuild the connection just times out, what am i missing? .4host$ ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 index 3 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 2c:40:0a:7d:1c:4d index 1 priority 0 llprio 3 groups: egress media: Ethernet autoselect (1000baseT full-duplex) status: active inet 192.168.2.5 netmask 0xffffff00 broadcast 192.168.2.255 enc0: flags=0<> index 2 priority 0 llprio 3 groups: enc status: active pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136 index 4 priority 0 llprio 3 groups: pflog $ i tried a syntax suggestion in on the bottom page of: https://www.openbsd.org/faq/pf/rdr.html without any luck... i am just getting timeouts here, does anyone know how i could solve this? Take Care Sincerely flipchan