Hello community, here is the log from the commit of package pptpd for openSUSE:Factory checked in at 2014-08-07 08:08:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pptpd (Old) and /work/SRC/openSUSE:Factory/.pptpd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pptpd" Changes: -------- --- /work/SRC/openSUSE:Factory/pptpd/pptpd.changes 2012-02-14 19:05:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pptpd.new/pptpd.changes 2014-08-07 08:08:24.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 6 10:46:53 UTC 2014 - [email protected] + +- Changed file names README.SUSE and LIESMICH.SUSE, because it is + the right SUSE spelling (bnc#889011). + +------------------------------------------------------------------- Old: ---- LIESMICH.SuSE README.SuSE New: ---- LIESMICH.SUSE README.SUSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pptpd.spec ++++++ --- /var/tmp/diff_new_pack.sSQxJl/_old 2014-08-07 08:08:25.000000000 +0200 +++ /var/tmp/diff_new_pack.sSQxJl/_new 2014-08-07 08:08:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pptpd # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: pptpd Version: 1.3.4 Release: 0 @@ -29,8 +28,8 @@ Source3: pptp-install.tar.bz2 Source4: pptpd.conf Source5: options.ppp0 -Source7: README.SuSE -Source8: LIESMICH.SuSE +Source7: README.SUSE +Source8: LIESMICH.SUSE Source9: pptpd.service Patch0: makefile.diff Patch1: pptpd-cflags.patch @@ -123,7 +122,7 @@ %files %defattr (-, root, root) -%doc $RPM_SOURCE_DIR/README.SuSE $RPM_SOURCE_DIR/LIESMICH.SuSE +%doc $RPM_SOURCE_DIR/README.SUSE $RPM_SOURCE_DIR/LIESMICH.SUSE %doc $RPM_SOURCE_DIR/options.ppp0 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO %doc samples PPTP-Installation pptp-server ++++++ LIESMICH.SUSE ++++++ Beispiel: Verschluesselter PPP-Tunnel von Windows-Client zu Linux-Server. =============================================================== (siehe auch "http://pptpclient.sourceforge.net/documentation.phtml") Der Linux-Server hat die IP-Adresse 10.10.0.208. Der Tunnel bekommt am Serverende die Adresse 192.168.1.1 und am Clientende die Adresse 192.168.1.2. Es muessen die Pakete ppp und pptpd installiert sein. In /etc/pptpd.conf sind folgende Tags zu aendern bzw. zu aktivieren (Kommentarzeichen # am Zeilenanfang entfernen). =================================================================== speed 115200 option /etc/ppp/options.pptp debug localip 192.168.1.1 remoteip 192.168.1.2 In /etc/ppp/options.pptp sollten die folgenden Zeilen stehen. ============================================================= lock debug auth require-chap require-mschap require-mschap-v2 require-mppe-40 require-mppe-128 name poseidon proxyarp In /etc/ppp/chap-secrects muessen diese Zeile stehen. ===================================================== # INBOUND CONNECTIONS #client hostname <password> 192.168.1.1 pptptest poseidon pptptest * Das Kommando zum starten des pptpd eingeben. ============================================ rcpptpd start Fertig ist der Tunnelserver! Der Windows-Client (95/98/NT) muss den Tunnelserver per TCP/IP erreichen koennen. Testen mittels "ping 10.10.0.208" in der Dosbox von Windows. Wenn die Verbindung klappt kann auf dem Windows-Client die Microsoft VPN-Software installiert und konfiguriert werden. 1. Start->Einstellungen->Systemsteuerung->Netzwerk 2. Klick Hinzufuegen 3. Waehle Netzwerkkarte 4. Klick Hinzufuegen 5. Waehle Microsoft als Hersteller 6. Waehle Microsoft Virtual Private Networking Adapter 7. Klick OK 8. Die verlangten Disketten/CD's einlegen und den Anweisungen folgen. 9. Windows Neustart (wie sollte es auch anders sein) Warten, warten, warten, ... Wenn Windows wieder da ist geht's weiter. 1. Start->Programme->Zubehoer->Kommunikation->DFÜ-Netzwerk 2. Doppelklick auf "Neue Verbindung erstellen" 3. Einen Namen fuer die Verbindung ausdenken und eintragen. 4. Waehle "Microsoft VPN Adapter" als Geraet. 5. Klick Weiter 6. Die IP-Adresse Linux-Servers 10.10.0.208 eingeben. 7. Klick Weiter 8. Klick Fertig stellen 9. Mit rechter Maustaste auf die neuerstellte Verbindung klicken und Eigenschaften auswaehlen. 10. Waehler Server Types 11. aktiviere Require encrypted password 12. deakiviere netbeui, ipx/spx compatible 13. Klick TCP/IP Settings 14. deaktiviere Use IP header compression 15. deaktiviere Use default gw on remote network nur wenn die default route nicht durch den Tunnel verlaufen soll. (Achtung wahrscheinlich haben Sie schon eine default route auf dem bereits aktiven Netzwerk- interface.) 16. Doppelklick auf die neue Verbindung 17. Als User name pptptest und als Password pptptest eingeben. 18. Klick Connect Schon geht's los! :-) Wenn sie den Bugfix fuer Windows 98 eingespielt haben, den es unter "ftp://ftp.microsoft.com/softlib/mslfiles/dun40.exe" gibt. Damit unterstuetzt Windows 98 allerdings nur 40 Bit Schluessel. Wann Microsoft auch ausserhalb der USA laengere Schluessel (Linux unterstuetzt bereits 128 Bit) anbietet ist uns nicht bekannt. Mit Windows 95 geht es genauso, allerdings muss das DFÜ-Netzwerk Update auf Version 1.3 (frei von Microsoft herunterladbar) installiert sein. Viel Spass, Juergen Scheiderer <[email protected]> ++++++ README.SUSE ++++++ Example: Encrypted PPP-Tunnel between Windows-Client and Linux-Server. ============================================================= (see also "http://pptpclient.sourceforge.net/documentation.phtml") The Linux-server has ip-adress 0.10.0.208. The tunnels serverside ip-address is 192.168.1.1 and the tunnels clientside ip-address is 192.168.1.2. Install the packages ppp and pptpd. In /etc/pptpd.conf edit the following tags. =========================================== speed 115200 option /etc/ppp/options.pptp debug localip 192.168.1.1 remoteip 192.168.1.2 /etc/ppp/options.pptp should look like this. ============================================ lock debug auth require-chap require-mschap require-mschap-v2 require-mppe-40 require-mppe-128 name poseidon proxyarp Put this lines in /etc/ppp/chap-secrects. ========================================= # INBOUND CONNECTIONS #client hostname <password> 192.168.1.1 pptptest poseidon pptptest * Start the pptpd. ================ rcpptpd start The tunnelserver is ready! The Linux-Server must be reachable via TCP/IP from the Windows-Client (95/98/NT). Test it with "ping 10.10.0.208" in the windows dosbox. If the the connection works, go in with installation and configuration of the Microsoft VPN-Software. With Windows 98 follow these instructions: 1. start->settings->control panel->network 2. Click add 3. choose adapter 4. Click add 5. select microsoft as the Manufactuarer 6. select Microsoft Virtual Private Networking Adapter 7. Click ok 8. Insert any necessary disks 9. Reboot your Machine take a little nap here... Once your Machine is back 1. go to dial-up networking (usually start->programs->Accessories->communications->Dial-up Networking) 2. Click make new connection 3. Name the Connection whatever you'd like. 4. Select Microsoft VPN adapter as the device 5. click next 6. type in the ip address or hostname of your pptp server 7. click next 8. click finish 9. Right-click on the intranet icon 10. select properties 11. choose server types 12. check require encrypted password 13. uncheck netbeui, ipx/spx compatible 14. click tcp/ip settings 15. turn off use IP header compression 16. turn off use default gw on remote network 17. click ok. 18. start that connection 19. type in your username and pw (yadda, yadda, yadda) 20. once it finishes its connection your up. The Win98 implementation of encryption is FUBAR! You have to download one of those patches from Microsoft, DUN40.exe to get the thing to work. This is for 40 bit encryption. Don't hold your breath waiting for 128 bit. Note that the Win95 routine is similar but requires Dial Up Networking Update 1.3 (free from Microsoft) to be installed first. Have fun, Juergen Scheiderer <[email protected]> -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
