I am running Sophos as a FW and IDS on my Amazon VPC. Behind sophos is a Bitnami Wildfly instance. I forwarded port 2223 to the Wildlfy port 22 and port 8080 to Wildlfy 8080. This all seems to work. Now I want the admin console available, so I opened port 9990 to Wildfly 9990. However, the ssh port forwarding does not work. Can you give me pointers where to look?
This command works:
ssh -i my-private.pem firstname.lastname@example.org -p 2223
This command does not work:
ssh -N -L 9990:127.0.0.1:9990 -i my-private.pem email@example.com -p 2223
I don't see any packets dropped when I inspect the FW log.
I opened up the ports in the Sophos security group for 2223, 8080 and 9990.
Note: Crossposted from: http://serverfault.com/questions/777234/open-port-forwarding-sophos