Html code $ cd/usr/local/src $ wgethttp: // Configure
Centos6 install VPN service under the Html code $ cd/usr/local/src $ wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm www.2cto.com $ rpm-Uhv pptpd-1.3.4-2.el6.x86_64.rpm using the software is http://poptop.sourceforge.net/dox/reference chapter is the original http://blog.secaserver.com/2011/10/install-
Centos6.5 configure pptpd to build a VPN Service
I. check:
1. Check whether the system kernel supports MPPE patches.
Modprobeppp-compress-18 echosuccess
Success indicates that the system supports the MPPE patch. If not, install kernel-devel first.
Yuminstallkernel-devel
2. Check whether TUN/TAP support is enabled.
Cat/dev/net/tun
If the result of this command is the following text, it indicates that:
Cat:
protocol. [Routerb-ipsec-proposal-tran1]transform ESP# Select the algorithm. [Routerb-ipsec-proposal-tran1]esp encryption-algorithm des validation algorithm[Routerb-ipsec-proposal-tran1]esp authentication-algorithm SHA1 encryption algorithm[Routerb-ipsec-proposal-tran1]quit# Configure the IKE peer. [Routerb]ike Peer Peer[Routerb-ike-peer-peer] Pre-share-key ABCDE// Configure a preshared key that must be consistent with the peer[Routerb-ike-peer-peer] remote-address2.2.2.1 // Configure peer-to-p
/chap-secrets
Fill in the format of the IP address assigned by the user name (tab) Host Name (tab) and password (tab). The host name can be replaced, if you do not specify the IP address to which the user is allocated, you can change the last IP address to "*" to restart the pptp service.
/etc/init.d/pptpd restartWait
In linux, use poptop to quickly build the VPN service-Linux Enterprise Application-Linux server application information. The following is a detailed description. 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 c
This article is also a real case. You can only display some of the real ip addresses. Sorry --~
The demand for leader is always endless; what he wants, you need to find a way to achieve 650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/00594B501-0.gif "/>
Just a few days ago, the domestic machine vpn jumped to the foreign machine route delivery; today, a sudden whim, change the solu
is as follows:
Iptables-t nat-a postrouting-s 192.168.85.0/24 (PPTP client IP-j SNAT--to 192.168.0.105 (to issue public network IP)
We then enter the following instructions to let iptables save our forwarding rules so that we do not need to add them again after restarting the system:
The code is as follows:
#/etc/init.d/iptables Save
Then we restart Iptables:
The code is as follows:
#/etc/init.d/ipt
Ubuntu 15.10 sets static ip Address Allocation fixed ip Address Settings dns settings gateway command line configuration ip fixed ip address does not take effect what to do, ubuntu15.10
Files to be used:
Configure Interface Information
/Etc/network/interfaces
Configuration c
Files to use:Configuring interface Information/etc/network/interfacesConfiguration content:Auto Eth0Iface eth0 inet StaticAddress 192.168.216.188Gateway 192.168.216.2Netmask 255.255.255.0Configure DNS/etc/resolvconf/resolv.conf.d/baseConfiguration content: NameServer 192.168.216.2To view DNS:/etc/resolv.confCommand:View System Network InformationIfconfigRestart Network Service/etc/init.d/networking restartTake a look at your own local information (aux
This article is also a real case; For real IP can only show a part, hope forgive--~
Say leader's demand is always endless; what he wants, you need to find a way to make it happen.
Just a few days ago, the domestic machine VPN jump to the foreign machine routing diversion; today suddenly whim, change the plan; If the last time is to save costs, then the plan is to save costs; go ahead and do it.
First loo
lan. If the company's headquarters and branches share a set of financial software systems, how to Use branches? How can an accountant or a boss work on a business trip or at home?
TeamLink Solution
Tianlian TeamLink is a VPN service provided by jinwanwei for small and medium-sized enterprise users. a virtual private network can be established in any Internet environment. The usage is as follows:
General D
/ubuntu/ karmic main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-Updates main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse Deb - SRC http: // Mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
Please refer to the following link for m
I. Configuring a static IP for a wireless networkEdit the/etc/network/interfaces file as follows:192.168. 1.120 255.255. 255.0 192.168. 1.1 # (depending on the situation) DNS 8.8. 8.8 8.8.4.4 # (fill in the details)4. Restart the Network Service command as follows:#/etc/init.d/networking restart5. Set up extranet access DNS editing/etc/resolv.conf as follows:8.
Set static IP addresses and static IP addressesSet IP$ Sudo vi/etc/network/interfacesAutoloIface lo inet loopbackAdd the following contentAutoeth0Iface eth0inet staticAddress192.168.0.221 Netmask00000000255.0Gateway192.168.0.1 Save and disable gedit.In this way, the
Download the target RPM from http://poptop.sourceforge.net/yum/stable/packages/
My 64-bit centos5.5 download is
Http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel4.x86_64.rpm
Install
Rpm-IVH pptpd-1.3.4-2.rhel4.x86_64.rpm
1. Modify the main configuration file/etc/pptpd. conf. You only need to add the following two lines
Localip 10.0.0.1remoteip 10.0.0.100-200
2. Modify the option file/etc/PPP/options.ppt PD. You need to set the DNS assigned to the client.
MS-DNS 8.8.4.4ms-DNS
Freeradius + pptpd + mysql VPN Service System in Ubuntu, freeradiuspptpd
/* The following operations are performed on the radius server */# update the source sudo apt-get update # install Mysqlsudo apt-get install-y mysql-server mysql-client # install freeradius and the required sudo apt-get install-y freeradius-mysql freeradius-utils freeradius-dialupadmin # from here, to switch to the root user, otherwise
Error Summary: Virtual Machine static IP login + wireless Internet access, static IP
Environment: notebook + home WIFI + company WIFI + VMware + CentOS6.8 + Xshell
Problem description: When I was a beginner in Linux, I installed a Virtual Machine (single Nic) in my notebook. I wanted to connect linux to the company thr
Ifcfg-eth0 file and set the value of Onboot to Yes so that the network service uses the NIC when it starts. Set the value of Bootproto to DHCP, allowing the network card to automatically obtain an IP address from the DHCP server.
The code is as follows
Copy Code
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Onboot=yesBootproto=dhcp
address.When you troubleshoot this problem, you find:1.202.106.199.37 is not a producer, the IP address set on the consumer server, an inexplicable run-out IP address2. Zookeeper configuration is 3. In the Dubboadmin Management console, found that producers, consumers have, is the producer side of the prompt no consumer.4. The production environment has a VPN, t
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.