External network access to SVN Server

Source: Internet
Author: User

I have been using the svn server built by visual SVN for a long time. Since everyone works in an intranet, they can access the server directly by using the PC name or fixed IP address.CodeLibrary. Today, if you want to allow your colleagues to access the version library of the company's intranet server at home or outside, you need to modify the configuration.

Because the Office uses routers to access the Internet, the public IP address will change constantly, So I first thought of a peanut shell, through dynamic domain name resolution (ddns) to bind the domain name to the dynamic IP address of the router, you can ensure that the Internet can access my machine, but you still need to make some configuration on the router. Here we take the TP-link router as an example to open HTTP in the browser: // 192.168.1.1 logon configuration page:

  1. Set static IP

    Select DHCP server-> static address allocation, and assign static IP addresses to machines in the intranet;

  2. Set port forwarding

    Select forwarding rules-> virtual server, and forward the Internet access to port 443 to the IP address of the machine where the svn Server service is installed. If port 80 is set here, then your web server will be visible to the outside world;

  3. Configure Dynamic DNS

    Most routers provide dynamic dns support. My routers support two ddns service providers, namely www.oray.net and www.comexe.com, enter the user name and password you have registered at the service provider. After Successful Logon, the domain name you have bound will be displayed.

After completing the preceding three steps, enter the svn server address in the browser, for example, https://xxxx.gicp.net/svn. Then you can use the tortoisesvn client to check out the code on the Internet!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.