Hi,
I have an Ubuntu box setup with SSH tunnelling enabled. The tunnel is used by several back office processes that run on the box. I've setup the tunnel to allow connections from "localhost" which allows the back office processes to work correctly. When I try to use the SSH tunnel from the MySql monitor the internal IP address of the machine is being used to connect to the tunnel so it's rejected (because I've only allowed "localhost" to connect to the tunnel and not "xxx.xxx.xxx.xxx").
I could setup the tunnel to allow connections from anywhere but that seems like a major security hole. I need to allow localhost plus the IP of the machine to connect to the tunnel but I don't think this is possible in SSH - from what I can see SSH tunnel either allows a single specific machine or a range of IPs but not specific address. I don't want to use an IP range because this is running on EC2. I'm not sure how I can either configure AppManager (I guess it's Tomcat actually) or the SSH tunnel to allow AppManager to connect as well.
I hope that made sense! Does anyone have any suggestions?
Thanks,