I do a config for about 12 localhost ports that cups prints to and they goto the corresponding ip addresses at the branch office. I have multiple configs for each of our branches and its really a cheap way to do remote from server printing with out costly VPN hardware and problems.
Some like this for my dedicated user's $HOMEDIR/.ssh/config
Host remoteofficeprint1
HostName 123.123.123.123
KeepAlive yes
User roprint
IdentityFile ~roprint/.ssh/specialkey1
LocalForward 9102 192.168.101.14:9100
LocalForward 9103 192.168.103.22:9100
LocalForward 9104 192.168.100.220:9100
LocalForward 9105 192.168.101.229:9100
LocalForward 9106 192.168.101.228:9100
LocalForward 9107 192.168.101.225:9100
LocalForward 9108 192.168.101.24:9100
LocalForward 9109 192.168.101.15:9100
LocalForward 9110 192.168.107.17:9100
LocalForward 9111 192.168.103.60:9100
LocalForward 9120 192.168.102.40:9100
LocalForward 9127 192.168.101.221:9100
Then I use this command from a screen session (as roprint):
autossh -M 17004 remoteofficeprint1