2010. szeptember 2. 15:21 Gabor Illo írta, <span dir="ltr"><<a href="mailto:stageline@gmail.com">stageline@gmail.com</a>></span>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div>Nem ennyi, itthon 8, szerveren 100 Mbit/s van. Visszatérve egy a PPTP-re megy az auth. megy a felcsatlakozás, de nem lehet pingelni a szerver "belső" ip címét a kliensről.<br>
<br>PPP adapter VPN Connection:<br><br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : VPN Connection<br> Physical Address. . . . . . . . . :<br> DHCP Enabled. . . . . . . . . . . : No<br>
Autoconfiguration Enabled . . . . : Yes<br> IPv4 Address. . . . . . . . . . . : 172.16.0.243(Preferred)<br> Subnet Mask . . . . . . . . . . . : 255.255.255.255<br> Default Gateway . . . . . . . . . : 0.0.0.0<br>
DNS Servers . . . . . . . . . . . : 172.16.0.1<br>
NetBIOS over Tcpip. . . . . . . . : Enabled<br><br>Az átjáró nem tudom miért 0.0.0.0<br> <br></div></div>Szerver<br><br>/etc/ppp/ppp.conf<br><br>loop:<br> set timeout 0<br> set log phase chat connect lcp ipcp command<br>
set device localhost:pptp<br> set dial<br> set login<br> set ifaddr 172.16.0.1 172.16.0.1-172.16.0.254 255.255.0.0<br> set server /tmp/loop "" 0177<br><br>loop-in:<br> set timeout 0<br> set log phase lcp ipcp command<br>
allow mode direct<br><br>pptp:<br> load loop<br> disable pap<br> disable passwdauth<br> disable ipv6cp<br> enable proxy<br> accept dns<br> enable MSChapV2<br> enable mppe<br> disable deflate pred1<br>
deny deflate pred1<br> set dns 172.16.0.1<br> set device !/etc/ppp/secure<br><br>/usr/local/etc/pptpd.conf<br><br>debug<br>nobsdcomp<br>proxyarp<br>localip 172.16.0.1<br>remoteip 172.16.0.1-254<br>pidfile /var/run/pptpd.pid<br>
+chapms-v2<br>mppe-128<br>mppe-stateless<br><br>Ha láttok hibát benne hibát szóljatok légyszi. Kb. ez szerint csináltam a configot: <a href="http://www.linux-bsd-central.com/index.php/content/view/8/" target="_blank">http://www.linux-bsd-central.com/index.php/content/view/8/</a><br>
</blockquote></div><br>Közben próbálkoztam, már lehet pingelni az átjárót, de internet továbbra sincs, ahogy névfeloldás sem.<br><br>/etc/ppp/ppp.conf<br><br>loop:<br> set timeout 0<br> set log phase chat connect lcp ipcp command<br>
set device localhost:pptp<br> set dial<br> set login<br> set ifaddr 172.16.0.254 172.16.0.1-172.16.0.254 255.255.255.255<br> set server /tmp/loop "" 0177<br><br>loop-in:<br> set timeout 0<br> set log phase lcp ipcp command<br>
allow mode direct<br><br>pptp:<br> load loop<br> disable pap<br> disable passwdauth<br> disable ipv6cp<br> enable proxy<br> accept dns<br> enable MSChapV2<br> enable mppe<br> disable deflate pred1<br>
deny deflate pred1<br> set dns 172.16.0.254<br> set device !/etc/ppp/secure<br><br>/usr/local/etc/pptpd.conf<br><br>debug<br>nobsdcomp<br>proxyarp<br>pidfile /var/run/pptpd.pid<br>+chapms-v2<br>mppe-128<br>mppe-stateless<br>
<br>tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1398<br> options=80000<LINKSTATE><br> inet 172.16.0.254 --> 172.16.0.107 netmask 0xffffffff<br> Opened by PID 35927<br>
tun1: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1500<br> options=80000<LINKSTATE><br><br>C:\Users\PC>ping 172.16.0.254<br><br>Pinging 172.16.0.254 with 32 bytes of data:<br>Reply from <a href="http://172.16.0.254">172.16.0.254</a>: bytes=32 time=27ms TTL=64<br>
Reply from <a href="http://172.16.0.254">172.16.0.254</a>: bytes=32 time=27ms TTL=64<br>Reply from <a href="http://172.16.0.254">172.16.0.254</a>: bytes=32 time=26ms TTL=64<br>Reply from <a href="http://172.16.0.254">172.16.0.254</a>: bytes=32 time=27ms TTL=64<br>
<br>C:\Users\PC>nslookup <a href="http://index.hu">index.hu</a><br>DNS request timed out.<br> timeout was 2 seconds.<br>Server: UnKnown<br>Address: 172.16.0.254<br><br>DNS request timed out.<br> timeout was 2 seconds.<br>
DNS request timed out.<br> timeout was 2 seconds.<br>DNS request timed out.<br> timeout was 2 seconds.<br>DNS request timed out.<br> timeout was 2 seconds.<br>*** Request to UnKnown timed-out<br><br>Szóval a 172.16.0.1 cserélődött 172.16.0.254-re és a maszk 255.255.255.255-re<br>
<br>PPP adapter VPN Connection:<br><br> Connection-specific DNS Suffix . :<br> Description . . . . . . . . . . . : VPN Connection<br> Physical Address. . . . . . . . . :<br> DHCP Enabled. . . . . . . . . . . : No<br>
Autoconfiguration Enabled . . . . : Yes<br> IPv4 Address. . . . . . . . . . . : 172.16.0.107(Preferred)<br> Subnet Mask . . . . . . . . . . . : 255.255.255.255<br> Default Gateway . . . . . . . . . : 0.0.0.0<br> DNS Servers . . . . . . . . . . . : 172.16.0.254<br>
NetBIOS over Tcpip. . . . . . . . : Enabled<br>