You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used pptp vpn client on centos6; and used chnroutes.py to create ip-pre-up/ip-down. but when i try to connect the vpn server , it did not creat route table .
anybody can help me ? thanks
########################################## // on vpn server host
#cat /etc/pptpd.conf
option /etc/ppp/options.pptpd
logwtmp
localip ... # (type passwd to view)
remoteip 192.168.100.2-100
#/etc/init.d/pptpd start
#tailf /var/log/messages
Jul 12 11:31:08 10-19-46-62 pptpd[5787]: MGR: Maximum of 100 connections reduced to 99, not enough IP addresses given
Jul 12 11:31:08 10-19-46-62 pptpd[5788]: MGR: Manager process started
Jul 12 11:31:08 10-19-46-62 pptpd[5788]: MGR: Maximum of 99 connections available
I used pptp vpn client on centos6; and used chnroutes.py to create ip-pre-up/ip-down. but when i try to connect the vpn server , it did not creat route table .
anybody can help me ? thanks
##########################################
// on vpn server host
#cat /etc/pptpd.conf
option /etc/ppp/options.pptpd
logwtmp
localip ... # (type passwd to view)
remoteip 192.168.100.2-100
#cat /etc/ppp/options.pptpd
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 8.8.8.8
ms-dns 8.8.4.4
proxyarp
debug
lock
nobsdcomp
novj
novjccomp
nologfd
#/etc/init.d/pptpd start
#tailf /var/log/messages
Jul 12 11:31:08 10-19-46-62 pptpd[5787]: MGR: Maximum of 100 connections reduced to 99, not enough IP addresses given
Jul 12 11:31:08 10-19-46-62 pptpd[5788]: MGR: Manager process started
Jul 12 11:31:08 10-19-46-62 pptpd[5788]: MGR: Maximum of 99 connections available
// vpn server start Normally
######################################
// on vpn client host
#ll /etc/ppp/ip-pre-up /etc/ppp/ip-down.d/ip-down
-rwxr-xr-x 1 root root 201698 Jul 11 17:34 /etc/ppp/ip-down.d/ip-down
-rwxr-xr-x 1 root root 359983 Jul 11 17:40 /etc/ppp/ip-pre-up
#cat /etc/ppp/options.pptp
lock
noauth
refuse-pap
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
#pptpsetup --create myvpn2 --server 12.34.56.78 --username testuser --password sscnwxy --encrypt --start
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local IP address 192.168.100.2
remote IP address 12.34.56.78
#ifconfig
......
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 5935 bytes 854648 (834.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5935 bytes 854648 (834.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1496
inet 192.168.100.2 netmask 255.255.255.255 destination 12.34.56.78
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 6 bytes 60 (60.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 66 (66.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
......
#tailf /var/log/message
Jul 12 11:44:10 worker0 pppd[25793]: pppd 2.4.5 started by root, uid 0
Jul 12 11:44:10 worker0 pppd[25793]: Using interface ppp0
Jul 12 11:44:10 worker0 pppd[25793]: Connect: ppp0 <--> /dev/pts/0
Jul 12 11:44:10 worker0 pptp[25794]: anon log[main:pptp.c:333]: The synchronous pptp option is NOT activated
Jul 12 11:44:10 worker0 NetworkManager[969]: [1499831050.1592] manager: (ppp0): new Generic device (/org/freedesktop/NetworkManager/Devices/360)
Jul 12 11:44:10 worker0 pptp[25804]: anon log[ctrlp_rep:pptp_ctrl.c:254]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jul 12 11:44:10 worker0 pptp[25804]: anon log[ctrlp_disp:pptp_ctrl.c:754]: Received Start Control Connection Reply
Jul 12 11:44:10 worker0 pptp[25804]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Client connection established.
Jul 12 11:44:11 worker0 pptp[25804]: anon log[ctrlp_rep:pptp_ctrl.c:254]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 12 11:44:11 worker0 pptp[25804]: anon log[ctrlp_disp:pptp_ctrl.c:873]: Received Outgoing Call Reply.
Jul 12 11:44:11 worker0 pptp[25804]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Outgoing call established (call ID 0, peer's call ID 0).
Jul 12 11:44:14 worker0 pppd[25793]: CHAP authentication succeeded
Jul 12 11:44:14 worker0 pppd[25793]: MPPE 128-bit stateless compression enabled
Jul 12 11:44:14 worker0 pppd[25793]: local IP address 192.168.100.2
Jul 12 11:44:14 worker0 pppd[25793]: remote IP address 12.34.56.78
The text was updated successfully, but these errors were encountered: