Linux VPN solution (switched from GS)

Source: Internet
Author: User

Yes
Many of you may not be able to access the Internet using the Linux operating system in the public data center of the College, or your own Linux operating system cannot access the Internet in the data center.
Solution;

1. Use bras in Ubuntu
Network:

1. First, ensure Intranet connectivity and access Lily
Intranet.

1. 2. Update the source (cn99 is recommended)
Source ):

Open
Choose "system"> "System Management"> "software source". In the "Download from" option, select "Others"> "China"> "ubuntu.cn99.com"

Open the terminal and enter
Sudo apt-Get update

Update

1. 3. Install bras

Enter sudo Su in the terminal

Obtain the administrator privilege. the password of the computer in the IDC is 123456.

Enter
Mkdir



-



P



/



Root



/



Bras

Create a Bras folder in Root

Enter
CD



/



Root



/



Bras



 
Open the folder

Enter

Wget







--







No







-







Proxy HTTP







:







// Bbs.nju.edu.cn/file/w/wen1987/installbras.sh

Download the bras File

Enter



Bash installbras



.



Sh

Operation
Row bras.

Note: during the installation process, enter the user name and password of the BRAS as prompted. During the installation process, enter gateway. To obtain the gateway, open another terminal and go
Enter route, and the gateway will display it.


After the installation is complete, the online command is
Sudo
Brasup

The access command is
Sudo
Brasdown



 

(For details, please
Look: http://bbs.nju.edu.cn/bbstcon? Board = linuxunix & file = m.1240660576.a)

2. Use VPN to access the Internet

2. 1. Install VPN

First use bras to access the Internet, and then enter it in the terminal.
Sudo
Apt-Get install PPTP-Linux

Security
Install VPN

 

 

 

2. Configure the VPN

Click network in the upper-right corner.
Network connection, open the VPN connection-> Configure the VPN

Point
Click "add" and enter the gateway 202.119.48.38 on the add page. You will know the user name and password.

After that, you can find the VPN you just set in the network connection area in the upper-right corner of the network, and click it to access the Internet through the VPN.

Note:
Because the Linux System in the data center will not be restored after it is restarted, you can select a computer and use it after configuration.

 

 

 

That bras is used by the South China University Intranet to the Internet. Other schools may have their own methods. In fact, the most important thing is that the network manager cannot use the VPN without the PPTP protocol. Therefore, the key is to install PPTP. It can be used directly after version 10.04. It's no longer so troublesome, bless

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.