There are many tutorials on establishing a VPN connection in Windows 7, but the VPN Server in Windows 7 has not been found. After self-exploration and Google help, the related settings are finally found.
Procedure:
1. Click the Network icon in the lower-right corner, select "Open Network and sharing center", and then select "Change adapter Settings"
2. Click "
make the configuration take effect:
$ sysctl-p
8. Add Rules to the firewall to allow NAT Translation:
$ iptables-tnat-APOSTROUTING-oeth0-jMASQUERADE
$ service iptables save
$ service iptables restart
Note: check when you finish Step 8./Etc/sysconfig/iptables. Make sure that the POSTROUTING rule is before any REJECT rule.
Depending on the Implementation of VPS, there are mainly openVZ and XEN. These two rules are:
OpenVZ:$ Iptables-t nat-a postrouting-s 192.168.0.0/24-j SNAT -- to-source **. **
/options.ppt pdlogwtmplocalip 192.168.22.22 // The local IP address of the vpn service remoteip 192.168.22.23-230 // assigned to the VPN the IP address range of the client [root @ localhost opt] # [root @ localhost opt] # cat/etc/ppp/chap-secrets # Secrets for authentication using CHAP # client
In debianLinux, the implementation of vpn Server-Linux Enterprise Application-Linux server application information is as follows. Server Side settings:
First, add the mppe patch to the kernel of the vpn Server,
Obtain patches from
Debian system build VPN Server 1. install PPTPD www.2cto.com # apt-get install pptpd 2. Edit pptpd. conf file # vim/etc/pptpd. conf makes the uncommented content as follows: option/etc/ppp/pptpd-optionslocalip 192.168.0.1remoteip 192.168.0.234-238,192.168 .0.245 set the IP address range that can be obtained after the external computer connects to the
:
Chkconfig -- add xl2tpd
Use the setup command to set the xl2tpd service to automatically start upon startup.
Now, the VPN Server Configuration for L2TP is complete. Create a VPN connection in Windows XP. Enter the IP address of the server, username myvpntest, password myvp
Objective to build a VPN server and connect the external network to the internal network. Environment server: centos6.20.client: WindowsXP server configuration # Disable SELinux
Purpose
Build a VPN server to connect the external n
Description
RouterOS Server ip:172.31.101.80
RouterOS version: RouterOS V6.15
Demand:
To configure the PPTP VPN server on the RouterOS server, the PPTP VPN Client dial-in network segment is: 172.31.101.60-
172.31.101.79
. VPN can be understood in this way, Linux clients use a virtual network device PPP0 (Windows clients can also be understood as a VPN virtual network card), connected to the server's virtual networking device Ppp0, so that the client joined the server-side ppp0 on the network. Localip is the IP address that can be assi
required by the openvpn configuration file to the newly created keys directory cp/ usr/share/easy-rsa/2.0/keys/{ca. crt, server. {crt, key}, dh2048.pem, ta. key}/etc/openvpn/keys/# create/etc/openvpn/server. conf file with the following content: port1194protoudpdevtuncakeys/ca. crtcertkeys/server. crtkeykeys/server. k
Debian uses pptp as the VPN Server-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Since my system version is linux-image-2.6.18-6-686> Linux kernel 2.6.15-rc1, there is no need to manually install mppe and dkms
2. install the pptpd service apt-get install pptpd
3. Edit the/etc/pptpd. conf file.
Deb
Build PPTP of VPN Server and vpnpptp
First milestone: Check whether the system supports ppp
[root@m01 ~]# cat /dev/pppcat: /dev/ppp: No such device or address
If the above prompt is displayed, the ppp is enabled and the pptp service can be set up normally. If there are other prompts such as Permission denied, you need to go to the VPS panel to see if there is any
Most of the time, we hope that we can still access files on the company's servers at home for remote office. If you have a public IP address and a valuable VPN Router, you can meet your needs. Unfortunately, some small companies do not have public IP addresses or VPN routers ). Fortunately, with the help of QQ's powerful functions, we can also create a
are encrypted with IPSec. An internet-based PPTP server is a VPN server that uses the PPTP protocol, one with an interface on the Internet and another interface on an intranet.
PPTP connection process and tunnel maintenance
The PPTP control connection is established between the PPTP client IP address and the PPTP
How does the WinXP system set up a VPN proxy server?
First, click on the bottom left corner of the desktop "Start", then click "Control Panel" click "Network and Internet Connection"
Click "Create a network connection to your work location"
Select "Virtual Private network Connection", then click "Next" button;
Enter the name of the connection in the input field, use
, the specific allow account to add in.
5. Next, we need to choose the way the VPN connection, generally choose the Internet.
6. Finally, although the VPN server is built, we also need to set the network parameters to achieve the connection, directly right click on Internet Protocol version 4 (TCP/IP), and then select Properties, if the
network IP, because my server is a local area network of a machine, only LAN IP, So here is the IP of this machine.
If you do not add a iptables rule, the result is that you can connect to the VPN server but not the Internet. Additional rules that may be required are as follows:
Iptables-a forward-i tun0-s 10.1.1.0/24-j ACCEPTIptables-a forward-i eth0-d 10.1.1
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.