Port redirection

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Port redirection

Post by Xavier » Thu Apr 01, 2010 1:07 am

Hello

as a simple way to prevent some users to remotely access the database, I would like to redirect the port with our router.
eg:
we use https locally on port 443
we would remap port XXX to port 443 when access through the router

How could we setup a GUI client to use port XXX, with the proxy ? How (I'm not an IT expert sorry)

Thanks

Xavier
Best regards

Xavier

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Port redirection

Post by Beth » Thu Apr 01, 2010 9:59 am

Are you currently already using a proxy server? If not, then nothing needs to be configured for it. Are you considering putting a proxy server in?
Beth Kieler
SourceGear Technical Support

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: Port redirection

Post by Xavier » Thu Apr 01, 2010 10:39 am

no no just an idea.
How should it be done ?
Best regards

Xavier

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Port redirection

Post by Beth » Thu Apr 01, 2010 1:57 pm

What you are suggesting doesn't sound simple. A proxy server and redirecting ports sounds redundant, and it seems to me that if you used port forwarding that you would be trying to bypass the proxy.

Are you trying to prevent outside people from accessing Vault or accessing the SQL database?
Beth Kieler
SourceGear Technical Support

Xavier
Posts: 230
Joined: Tue Mar 01, 2005 5:06 am

Re: Port redirection

Post by Xavier » Fri Apr 02, 2010 12:50 am

Hello,

I apologize for the confusion. Just forget the proxy.


I want to prevent some users to access vault remotely (internet) (very old query that doesn't seem to have any chance to be in the product some day).
As I'm far to be an IT expert, I gave until I found that our internet router can map ports. So my idea is to use a port different than the https one (443) for example 1000, and ask my router to map external port 1000 to internal port 443. This way only developers to whom I would give the external port, would have remote access to our source code.

I hope it's clear now.

Xavier
Best regards

Xavier

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Port redirection

Post by Beth » Fri Apr 02, 2010 7:36 am

Ok. That helps. After you set your router to do the port forwarding, your users only need to add the new port to the end of their connection. For example, our Vault demo is at vaultdemo.sourcegear.com. If we needed to hit port 1000, in the GUI client you would enter vaultdemo.sourcegear.com:1000. The web client would go to http://vaultdemo.sourcegear.com:1000/va ... e/vaultweb.
Beth Kieler
SourceGear Technical Support

Post Reply