.
vi /etc/pptpd.confUncomment the following content
localip 192.168.0.1remoteip 192.168.0.234-238,192.168.0.245The IP address range that can be obtained after the external computer connects to the vpn through pptp and the IP address settings of the server.
4. Add an account for login
vi /etc/ppp/chap-secretsThe format is as follows:
# client server secret IP addressescqc pptpd 123456 *The user name is specified from left to right. Server, ente
, other parameters can be modified according to need.
Note: The local address is the address of the VPN client accessing the router, and the maximum session is that the account can be used by multiple computers at the same time.
[3]
set up the
PPTP
Server
Click on
VPN > PPTP > PPTP
Server , click on, set as follows:
Note: The
find /home/alan/cisco/vpnclient/.libdriver.so.cmd for /home/alan/cisco/vpnclient/li bdriver.so CC /home/alan/cisco/vpnclient/cisco_ipsec.mod.o LD [M] /home/alan/cisco/vpnclient/cisco_ipsec.komake[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23-686'
That looks good. Now lets do it for real withvpn_installScript supplied by Cisco.
alan@hactar:~/cisco/vpnclient$ sudo ./vpn_installCisco Systems VPN Client Version 4.6.02 (0030) Linux Insta
My host CENTOS6.564X Step 1: Download the one-key installation package for vpn (dedicated to CentOS6) # wgethttp: // uninstall:
My host CENTOS 6.5 64X
Step 1: Download the one-key installation package for vpn (dedicated to CentOS6)
#wget http://www.iamhackspace.com/download/shell/vpn_cent6.sh#chmod a+x vpn_centos6.sh
Step 2: run the one-click installation package
#bash vpn_centos6.sh
There are three options
Only three steps are required to quickly build a vpn in Centos
My host CENTOS 6.5 64X
Step 1: Download the one-key installation package for vpn (dedicated to CentOS6)
# Wget http://www.iamhackspace.com/download/shell/vpn_cent6.sh#chmod a + x vpn_centos6.sh
Step 2: run the one-click installation package
# Bash vpn_centos6.sh
There are three options:
Install VPN
Of course, the use of VPN is much more than this, such as game agent and so on. Here's a detailed tutorial on erecting a VPN under windows. Hope to be helpful to the friend you need.
The first is preparation: Windows has its own firewall (Windows Firewall/internet Connection Sharing (ICS)) to stop (or allow 1723 ports to pass); Remote Registry Service (remotely
encapsulation. When You encapsulate postcards on the internet, you create a virtual private network tunnel, or VPN tunnel. Although the technology is VPN, You do not actually encrypt the content in the envelope, so it is not confidential enough. No encryption. If the final receiver of a postcard is strong enough or he has a friend who works at the post office, he can still capture some information. In this
The VPN device logs syslog To the BSD server-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Set the syslog parameters of the VPN device. I use this VPN Device of Beijing Power. Other network devices are not very different.
2. After configuring the VPN, tc
dismiss the bank commentFind the ms-dns option to dismiss the bank comment while modifying the DNS address5. Modify the configuration file pptpd.confVim/etc/pptpd.confFind PPP options and dismiss our commentsFind localip options and remoteip optionsAmong them, Localip 192.168.1.1 #取消这行注释, fill out the IP of the network, indicating the VPN login server address ;Removeip 192.168.0.222-254 #取消这行注释, the IP pool assigned to the client when the
VPN.
3. Modify/Add/etc/sysctl. conf
Vim/etc/sysctl. conf
Make sure that all the following fields have the same or the following values. To save trouble, directly paste the following content at the end of/etc/sysctl. conf.
Net. ipv4.ip _ forward = 1
Net. ipv4.conf. default. rp_filter = 0
Net. ipv4.conf. all. send_redirects = 0
Net. ipv4.conf. default. send_redirects = 0
Net. ipv4.conf. all. log_martians = 0
Net. ipv4.conf. default. log_martians = 0
N
modification, save the following as a revocation.bat file and run it (the following gateway IP replaces the one you set before).
@echo off
Route Delete 192.168.1.0
One, 720 error "cannot establish a connection to a remote computer. You may need to change the network settings for this connection "workaround
This error tip is the most common, possibly setting use environment issues, or VPN line problems. Try connecting several times or using a dif
shut down that night, we found some strange traffic in the history of Fiddler. We guess whether a malware is running on the host or someone accesses the Fiddler agent over the network. Therefore, we quickly checked the traffic that we found was passing through the VPN network interface. The Nmap scan of the vpn ip proves our doubts again. Lab machines can connect to all services (Apache, FTP, Fiddler, RDP)
branch routers have static public IP addresses. However, it is very expensive to apply for a static IP address from the ISP. Generally, to save address resources and improve the effective utilization, the ISP provides dynamic IP addresses through the DHCP service for both ADSL and Direct cable access. (Note: address shortage caused by IPv4 bottlenecks. IPv6 does not have this problem. It claims that each grain of sand on the earth can be divided into
~]
#modprobeppp-compress-18echosuccess
Success indicates that the system supports the MPPE patch. If not, install kernel-devel first.
[root@VPN-Server~]
#yuminstallkernel-devel
2. Check whether TUN/TAP support is enabled.
[root@VPN-Server~]
#cat/dev/net/tun
If the result of this command is the following text, it indicates that:Cat:/dev/net/tun: File descriptor in bad state # The system is in EnglishCat:/de
and density), the routing protocol, NAT, QOS, multicast and mpls vpn. The performance of a vswitch mainly depends on the size of the backplane capacity throughput, supported port types and density), redundant modules, number of VLANs, whether layer-3 switching, multicast, and mpls vpn are supported. Let's take a look at the situation of vro Huawei that meets mpls vpn
1. Should I use MPLS (Multiprotocol label switching) VPN?
For many business network needs, the answer is absolutely certain. The transition to MPLS is well underway.
Take a look at this data. MPLS VPN has been gobbling up the market for frame Relay for years, according to data from market research firm Vertical Systems Group. In the next 18 months, the number of new MPLS
VPN is a virtual private network. The virtual private network function is to establish a private network on a public network for encrypted communication. It is widely used in enterprise networks. VPN gateway implements remote access through data packet encryption and data packet destination address conversion. VPN can be classified by protocol.
_ forward = 1At the same time, add # Before "net. ipv4.tcp _ syncookies = 1" to become:# Net. ipv4.tcp _ syncookies = 1Save and exit. Run/Sbin/sysctl-pMake it take effect.5. Set iptables forwarding/Etc/init. d/iptables start/Sbin/iptables-t nat-a postrouting-o eth0-s 192.168.254.0/24-j MASQUERADE/Etc/init. d/iptables save/Etc/init. d/iptables restart* Note that the above 192.168.254.0 should correspond to the previously set network segment.6. Remove encryption (some VPS do not support encryptio
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.