After the first two articles, so far, we have acquired the external domain name and set up the SVN server, next, we will summarize how to implement access to the local area network.
1. Install VISIUALSVN Server (visible: http://blog.csdn.net/lu930124/article/details/47128669)
2. Install the peanut shell and apply for the domain name (visible: http://blog.csdn.net/lu930124/article/details/46998681)
3. Set up the router ( take the Tp-link router as an example, other routers are similar. )
1). Open static address assignment under the DHCP server. Pin the computer to a static intranet IP, and note that it corresponds to the MAC address.
2). Open the "virtual server" under forwarding rules. Because the default port for VISUALSVN server's secure connection (that is, secure connection, prefixed with HTTPS) is 443, you need to fill in the virtual server with the 443 port and the fixed IP. If you are setting up an HTTP server, map port 80.
3). Turn on Dynamic DNS. Here the user name and password to fill in the Peanut Shell software login username and password. Restart the router after all settings are complete.
4. Setting up VISUALSVN Server
Open Svnserver, and then select Configure Logging to switch to the Networking tab:
Change the "server name" and "Server port" to the IP and port set in the router virtual server. Then restart the VISUALSVN service.
Find an extranet computer, enter in the browser address bar: HTTPS://XXX.EICP.NET:443/SVN, where the red part of the peanut shell provides a free domain name, if you can access, it means that the configuration is successful.
This problem, from the beginning of research, to the end of the present effect, experienced less than 1 days, although the solution came out, but because of the router's problem (our router, not here, cannot be modified), and did not put into implementation, it may be in the real implementation of the time, there is still a problem, But it's also a solution. If you have a better idea, please leave a message!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Realizing external network access to svn--peanut shell +visiualsvn in LAN to realize extranet access to SVN (iii) in LAN