Hi, I would like to connect via SSH protocol to a remote site running obsd PF in bridge mode where the only externally open port is SMTP, since there is a mail server running.
I Thought of setting up PF at the remote site with the following ruleset: rdr on $ext_if inet proto tcp from $myip to any port smtp -> 127.0.0.1 port ssh .... pass in on $ext_if route-to lo0 inet proto tcp from $myip to 127.0.0.1 port ssh But I did not get what I wanted. The connection always times out. Could someone point at what might be wrong or missing. Thanks in advance. Regards, Jose