. conf file, and remove #
Net. ipv4.ip _ forward = 1
5. Add the VPN user name and password, edit the/etc/ppp/chap-secrets file, and enter the file in the following format:
Username pptpd password *
6. Write the forwarding rule as a file, run the command vi/etc/pptpdfirewall. sh, and enter the following content:
Sudo/sbin/iptables-t nat-a postrouting-s 192.168.0.0/24-j SNAT -- to-source your VPS publ
With the development of network communication technology and the emergence of network applications, more and more user data and enterprise information are transmitted over the Internet. As a result, more and more hackers and cyber threats are emerging. they steal, tamper with, and destroy confidential and sensitive data to achieve their ulterior motives. Therefore, with the development of network communication technology and the emergence of network applications, more and more user data and ente
Web site Environment
LAMP. What is LAMP? It is Linux + Apache + MySQL + php/perl abbreviation, is a concise, strong, widely supported site environment. At home there seems to be a lot of people recommend to change A (Apache) to N (Nginx), but I do not recommend this, because Nginx relative to Apache, the support of PHP is worse, and lack of. htaccess directory-level configuration file support, rewrite function is not very Good. Most of all, LAMP is also an official recommended website environme
VPN (Virtual Private Network) is an extension of a Private Network. It can simulate a point-to-point Private connection through a shared Internet or public Network connection, send data between a local computer and a remote computer.It has good confidentiality and is not subject to authorization, so that both parties can establish a free and secure point-to-point connection.There are two common VPN services
choose your own appropriate VPS.
Openvz
OpenVZ is an operating system-level virtualization technology that is a layer of application on the underlying operating system, meaning easy to understand and low weight overhead, which generally means better performance. But OPENVZ configuration is more flexible, to the black-hearted service providers to change the opportunity to lower restrictions.
Advantages: Now sold outside this type, the licensed memo
With the built-in routing and Remote Access capabilities of Windows Server systems, it's no novelty to set up a VPN server, but by this method, a series of complex and cumbersome settings are required, and it is clear that the erection of "engineering" will make many novice users discouraged! In order to be able to chat between, can let you rookie friends easily set up a VPN server, this article deliberatel
Most VPS providers default to TUN/TAP devices that are not configured for VPS and need to apply for open Tun/tap. How to verify that the OpenVZ VPS Tun/tap device has been correctly? Test with the following command:
The code is as follows
Copy Code
#cat/dev/net/tun
If the command returns information as:Cat:/dev/net/tun:file
access and mobile office work have become the common needs of various social organizations to improve work efficiency and competitiveness. Due to the popularity and development of the Internet, the IPSec VPN technology enables remote access to a large amount of data, providing a low operating cost and high production efficiency remote access method. However, IPSec VPN is also insufficient. It is very compl
VPN servers are usually set up using the "route and remote access" component in Windows, but the configuration is complicated. If you can integrate the network firewall and VPN functions, You can simplify the setup process and use firewall policies to enhance the security of the VPN service. Kerio Winroute Firewall (KWF) is a tool built into the
You often use the "Routing and Remote Access" component of the Windows system to set up a VPN server, but this method configuration is more complex. If you can integrate network firewall and VPN functions, you can simplify the erection process, and you can also use firewall policies to enhance the security of VPN services. Kerio Winroute Firewall (hereinafter ref
VPN servers are usually set up using the "route and remote access" component in Windows, but the configuration is complicated. If you can integrate the network firewall and VPN functions, You can simplify the setup process and use firewall policies to enhance the security of the VPN service. Kerio Winroute Firewall (KWF) is a tool built into the
You often use the "Routing and Remote Access" component of the Windows system to set up a VPN server, but this method configuration is more complex. If you can integrate network firewall and VPN functions, you can simplify the erection process, and you can also use firewall policies to enhance the security of VPN services. Kerio Winroute Firewall (hereinafter ref
This article describes the VPN technology in detail from the specific concepts, solutions for different users, as well as its interfaces and implementation functions.
VPN is short for Virtual Private Network.
As the name suggests, we can regard a virtual private network as an internal private line of an enterprise. It can establish a proprietary communication line between two or more enterprise intranets co
In Centos6, configure the pptpd service to set up a VPN because Google .com is frequently used to search for and watch Youtube videos. In addition, there are many friends on Facebook, therefore, I bought zenVPS in the United States to build the PPTP service for VPN. The kernel in CentOS6 has included MP... in Centos 6, configure the pptpd service to set up a VPN
If you have installed wdcp in the linux virtual host management system, you may have questions about how to use vpn normally under wdcp. The following describes the solution. 1. First, check whether the PPP and TUN of your VPS are enabled: run the command cat/dev/ppp # Show No such device or address to pass through cat/dev/net/tun # Show File descriptor in bad state to pass, these two parameters must pass a
With the development of enterprise Informatization and the arrival of web2.0 era, the traditional office way has not been up to the demand of the Times, mobile office, Soho office gradually become the mainstream office. Compared to the traditional office, mobile office and Soho Office brings more flexible working hours and office location, for timely access to the latest and most valuable information has a great help. In this era of information, who can first control the information who can cont
A month ago, the blog moved to the Digitalocean VPS, originally considered to use CentOS, but if the use of Ubuntu server can have 20 of dollars credit, CentOS only 10 dollars, So instead of using Ubuntu12.04 as a VPS system, SSH into the system can be seen Digitalocean has been to the system has been strengthened, you can omit part of the security configuration. However, the basic security configuration is
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
1, check whether the System kernel support MPPE patch
The code is as follows
Copy Code
Modprobe ppp-compress-18 echo SuccessDisplay Success Description system support MPPE patch, if not supported, you need to install Kernel-devel firstYum Install Kernel-devel
2, check whether the system to open TUN/TAP supportCat/dev/net/tunIf the instruction shows the result to the following text, it means:Cat:/dev/net/tun:file Descriptor in #系统为英文版本Cat:/dev/net/tun: The f
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.