I think I have been looking at my problem wrong. I know how to encrypt a
session using ssh, but I need to know if I can configure the server to
forward information received to another port. For example, I need to create
a non-standard port assignment say 3307 and have it forward all the
encrypted mysql connections to port 3306 on the server (which at that point
is the localhost).

        Client (3307) ---> Server (3307) ---> localhost (3306)

I'm sure this is a simple directive that I am overlooking, but does anyone
know how to solve this issue and configure sshd to forward the port or do I
need more software. If you know of things to read I'm open, but currently
lost.

If you are curious about why I am doing this. I have a web site that is
driven by a mysql database and the school district I work for is very
concerned about security and they won't open ports to non-secure services or
services that send passwords in the clear. By forwarding an unused port we
can block the unencrypted ports on the firewall and only allow ssh encrypted
connections. Anyone think my logic is flawed and if so why?

Thanks,
Chad


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to