port forwarding

bruce badouglas at gmail.com
Fri Sep 20 20:39:31 UTC 2013


Hi.

I'm dealing with a issue involving port forwarding. I've got part of
it working, trying to get the rest.

for now:
 I have a serverside machine:
   -runs the gearmand daemon on localhost port 4730
   -runs the server.php - on ip localhost port 4730
   -also runs the portforwarding which is created on the clientside to
connect to
     localhost:4730
  -the test server is runs on a machine as user foo at 192.168.5.12

on the clientside machine
  -runs the client.php - which runs on localhost port 4730
  -also runs the ssh port forwarding process as follows
     ssh -f -L - N 4730:localhost:4730 foo at 192.168.5.12 -p 22
 -the client is running on 192.168.5.14

Everything above works... I can run a serverside process, and the
clientside workers get the data from the queue on localhost:4730

I'd like to be able to change the ip adress of the gearman processes
from localhost, to the actual ipaddress of the machine. This of course
involves changing the port forwarding from the client to the server
machine.

Thoughts/Comments would be useful.

thanks


More information about the users mailing list