Example 12. You want to redirect all local www connection requests EXCEPT those to your own http server (188.8.131.52) to a Squid transparent proxy running on the firewall and listening on port 3128. Squid will of course require access to remote web servers. This example shows yet another use for the ORIGINAL DEST column; here, connection requests that were NOT (notice the “!”) originally destined to 184.108.40.206 are redirected to local port 3128.
#ACTION SOURCE DEST PROTO DEST PORT(S) SOURCE ORIGINAL
# PORT(S) DEST
REDIRECT loc 3128 tcp www - !220.127.116.11
ACCEPT fw net tcp www
so, seems to me you could edit that to work for your situation, with something like
REDIRECT net 443 tcp 22 -
Worth a shot?