On Friday 20 January 2006 14:28, Michael Zarozinski wrote:
I'm in the process of moving a web site, msql db, and some game daemons to a new server. While the DNS transfer is in process we want all traffic to go to the new server. I've been told this can be done vial ssh tunnels but don't have any experience.... can anyone point me in the right direction?
read `man ssh` ... then when the directions are a little hard to grok, use these examples: ssh -L 1234:localhost:25 vapier@wh0rd.org -N -f this will create a ssh tunnel from my localhost:1234 to remote wh0rd.org:25 and after authentication is finished, the ssh process will detach
Do I need to set up a tunnel for every port on the old server (the games open ports)? How is it set up to run all the time? Do I need to mess with sshd_config?
i'm pretty sure ssh can only tunnel tcp ports, not udp, so you'd be out of luck ... also, all communication would be encrypted, so you would see a perf hit in terms of how much data you can move -mike