The pptpvpn client behind the LINUX gateway connects to the vpn
Source: Internet
Author: User
The pptpvpn client following the LINUX gateway connects to the vpn-Linux Enterprise Application-Linux server application information. For details, see the following. Author's wind blowing
Over the weekend, I tried to set the path on the Kernel 2.6.9, but I don't know how to create it. just compile a new kernel.
Download a new kernel 2.6.24 package from www.kernel.org.
Select the pptp option during compilation.
Remember to select the items in iptables. Otherwise, the following prompt appears when you run iptables.
Iptables v1.3.8: can't initialize iptables table
'Filter': iptables who? (Do you need to insmod ?)
Perhaps iptables or your kernel needs to be upgraded.
Select Netfilter connection tracking support
Exit
IP: Netfilter Configuration
Select Ipv4 connection tracking support (requited for NAT)
Select Full NAT
Exit
Last save
Then compile
Make
Mount two modules after restart
Modprobe nf_nat_pptp
Modprobe nf_nat_proto_gre
Then test again. OK.
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