Closed Thread
Results 1 to 6 of 6

Thread: Port forwarding to different server?

  1. #1
    I can get u banned. NC_TOM is on a distinguished road NC_TOM's Avatar
    Join Date
    Oct 2000
    Location
    Washington, USA
    Posts
    856

    Port forwarding to different server?

    Hey,

    Does anyone know how to forward a connection to a port on Server 1 so that it connects with the same port on Server 2?

    Like for having MySQL on a separate server but still allowing the user to connect to the same server for all aspects of their account.

    I know it can be done; can anyone help me out?

    Thanks!

  2. #2
    Try (if your OS is UNIX)
    man -k ...
    where ... are/is keywords (port connection for example)
    Better contact with comp.infosystems.www.servers.unix newsgroup. But they are very educated and one should be humble there (pleases are obligatory).

  3. #3
    I can get u banned. NC_TOM is on a distinguished road NC_TOM's Avatar
    Join Date
    Oct 2000
    Location
    Washington, USA
    Posts
    856
    Thanks a lot for your help!

  4. #4
    Pro Member jw is an unknown quantity at this point jw's Avatar
    Join Date
    Oct 2000
    Location
    Texas
    Posts
    285
    use ipchains (linux) or ipfw (freebsd)

  5. #5
    Guest Fox is an unknown quantity at this point
    Join Date
    Jun 2001
    Posts
    51
    What we want to do is:
    when somebody types localhost:3306 (on 216.12.210.4) it redirects them to mysql ( 216.12.210.22:3306 )

    also any idea on how to allow mysql to accept connections from IP 216.12.210.4?

    thanks!
    e-mail Alex@KelmNetwork.com with a response

  6. #6
    As I've understood you'd like to do the same as f2s did.
    They have mySQL db at a different server. I set phpBB there and at the time of configuration install.php asked the server name to write it in the config.php. So it enough to perform connection to the other server:
    mysql_connect("servernameort", "username", "password")

    From DB FAQ f2s : Remote access via client database utilities is not possible as the databases are located behind a firewall.

    If it is the case you are interested I can send phpinfo where there is their server settings to you with an e-mail.

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts