Quote:
Originally Posted by SchippStrich
Code:
pass out proto tcp from xl0 to any port 666
I'm not sure if that is what you meant but it still doesn't work.
|
No.
You need this 'combo':
Code:
rdr pass on xl1 inet proto tcp from any to xl1 port 666 -> 192.168.1.20
pass out quick on xl0 inet proto tcp from any to 192.168.1.20 port 666
Note that the 'any' in these rules is the
external IP address, so suppose you allow the connection only to e.g. public IP address 123.123.123.123, 'any' gets changed to '123.123.123.123' in
both rules.