Answer the question
In order to leave comments, you need to log in
VPN - a large number of TCP errors and then no connection?
I installed pptpd on a VPS with Debian Lenny and I'm testing access to it with different devices.
Installed like this (based on several how-to):
# apt-get install pptpd<br/>
# vi /etc/pptpd.conf<br/>
localip 10.60.60.1 <br/>
remoteip 10.60.60.50-150<br/>
# vi /etc/ppp/pptpd-options - добавил<br/>
ms-dns [DNS1 IP]<br/>
ms-dns [DNS2 IP]<br/>
mtu 1000 <- исправило соединение с iPad. <br/>
mru 1200 <-<br/>
# vi /etc/ppp/chap-secrets<br/>
myusername pptpd mypasswd *<br/>
# mknod /dev/ppp c 108 0 <- ликвидировало ошибку 619 с закрытием соединения.<br/>
# /etc/init.d/pptpd restart<br/>
# vi /etc/sysctl.conf<br/>
net.ipv4.ip_forward=1<br/>
# sysctl net.ipv4.ip_forward=1<br/>
# iptables -t nat -A POSTROUTING -s 10.60.60.0/24 -o eth0 -j MASQUERADE<br/>
# tcpdump -A -s0 -n -i ppp0 host 10.60.60.50 -w dump.txt<br/>
Answer the question
In order to leave comments, you need to log in
iPad'u must be told to let all traffic through vpn'y, the default VPN in iOS is used, who would have thought, to a private network. cl.ly/2T0o1d0m1d3w1P1Y2F2O Even if it doesn't climb with the checkbox checked, the gateway default is not transmitted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question