I recently acquired a Juniper NetScreen SSG5 and have been playing around with it. One task that took some time due to the fact that the multiple online resources I found had out dated syntax was that of port forwarding.
Take port 443 on my public IP via cable modem and forward traffic to a SUSE 10.2 virtual machine connected in bridged mode on my internal network on port 22. (i.e. SSH on 443 –> Public IP –> SSH on 22 –> Private IP)
set policy id 10 from untrust to trust any vip(ethernet0/0) “HTTPS” permit log count
Syntax is everything!