Hi everybody,
I try to use PF for port forwarding only and not as firewall.
My (experimental) pf.conf:
My expectation is that a:
Shows the contents of http://10.0.0.23:80 but I got a timeout.
The ssh redirection to the PF host itself (the first line of the config) works:
same as
Thanks for any help.
Regards
I try to use PF for port forwarding only and not as firewall.
My (experimental) pf.conf:
Code:
# IP of host where pf is running: 10.0.0.74
# IP of an external host with a web server: 10.0.0.23
rdr pass on em0 proto tcp from any to em0 port 2222 -> 10.0.0.74 port 22
rdr pass on em0 proto tcp from any to em0 port 8888 -> 10.0.0.23 port 80
pass in all
pass out all
My expectation is that a:
curl http://10.0.0.74:8888Shows the contents of http://10.0.0.23:80 but I got a timeout.
The ssh redirection to the PF host itself (the first line of the config) works:
ssh -p 2222 user@10.0.0.74same as
ssh user@10.0.0.74Thanks for any help.
Regards