Announcement

Collapse
No announcement yet.

Port Forwarding to multiple sites

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Port Forwarding to multiple sites

    We have a VPN connection to several customer sites. We only allow port 22. We won't be adding additional ports.

    I am using Intellipool monitoring software and want to connect to all of the customer sites and maintain connectivity to them.

    So far, I can do that on port 22.

    BUT, I need to run an MySQL query and it travels on port 3306 that isn't opened on the VPN connection. How can I route port 3306 over 22 to multiple sites at one time?

    Kind of like local port is localhost:11111 and destination is whatever:3306

    Can someone help me out here?

    Thanks!

  • #2
    Re: Port Forwarding to multiple sites

    Since your using port 22 I assume your are using SSH.
    In that case you can tunnel al kinds of ports through your SSH connection.
    Check google for some how to do articles. Tunnel through ssh should be sufficient I think

    This is an example for putty
    http://people.hmdc.harvard.edu/~mathpre/vnc/putty/
    Last edited by Dumber; 14th July 2010, 20:46.
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: Port Forwarding to multiple sites

      Yes, using SSH on port 22.

      Using Putty I can do all types of forwarding but I need to have a putty session open to every remote site (125 +). They time out and it creates issues.

      So, I need to do it within windows 2003.

      Comment


      • #4
        Re: Port Forwarding to multiple sites

        Windows 2003 doesn't have a build-in SSH application.
        You need a third party application for that.

        Or configure a keep alive in putty
        Marcel
        Technical Consultant
        Netherlands
        http://www.phetios.com
        http://blog.nessus.nl

        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
        "No matter how secure, there is always the human factor."

        "Enjoy life today, tomorrow may never come."
        "If you're going through hell, keep going. ~Winston Churchill"

        Comment


        • #5
          Re: Port Forwarding to multiple sites

          Hmmm, so there is no way to do it in routing in 2003 then?

          Hmmm...

          Comment


          • #6
            Re: Port Forwarding to multiple sites

            Routing is not the question.
            You can ping the remote site on a interval base, however personally I don't understand why just one port is allowed to connect to the remote host. This might keep the connection alive although I doubt it would help since it's the SSH server which is timing out.
            The "issue" you have lies into a security parameter within the SSH server. For security reasons a session is disconnected after a period of inactivity.
            It isn't recommended to keep a session alive for such a long time. SSH is created for remote management and not really as a single port only connection.
            Marcel
            Technical Consultant
            Netherlands
            http://www.phetios.com
            http://blog.nessus.nl

            MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
            "No matter how secure, there is always the human factor."

            "Enjoy life today, tomorrow may never come."
            "If you're going through hell, keep going. ~Winston Churchill"

            Comment


            • #7
              Re: Port Forwarding to multiple sites

              why u dont use simple port forwad

              Comment

              Working...
              X