Darkelve Posted March 15, 2005 Report Share Posted March 15, 2005 Hi, I'm trying to -in Linux- connect to an external computer from work by use of VPN and pptp. I managed to install a package called 'pptp' (there was a SuSe RPM for it) and ran the GUI that is provided. It seems to work, it says: Using interface ppp0pptp-php-gtk: monitoring interface ppp0 Connect: ppp0 <--> /dev/pts/5 MPPE 128-bit stateless compression enabled local IP address ******* remote IP address ******* pptp-php-gtk: pppd process exit status 0 pptp-php-gtk: routes added to remote networks pptp-php-gtk: connected -------------------------------------------------------- bytes in: 72 - bytes out: 78 packets in: 6 - packages out: 6 So I guess that means the authentication works (or the 'tunneling', or whatever it is that's being done). However, what I need is a graphical way to login remotely to the (Win2000) system. Can anyone help with this? Darkelve Quote Link to comment Share on other sites More sharing options...
devries Posted March 16, 2005 Report Share Posted March 16, 2005 http://de.kde-apps.org/content/show.php?content=12570 Quote Link to comment Share on other sites More sharing options...
Darkelve Posted March 16, 2005 Author Report Share Posted March 16, 2005 Thanks Devries, I'll try it this evening. I even found an RPM for SuSe 9.1 already B) Quote Link to comment Share on other sites More sharing options...
Gowator Posted March 16, 2005 Report Share Posted March 16, 2005 but don't you need to be running MS terminal services? incidentally I have been playing with nxserver/client lately and it is really impressive between two linux boxes but it also claims windows server functionality. (again I presume it has to be terminal services ) http://www.nomachine.com/ The linux-linux is top class... we use some very expensive remote access stuff at work and this is certainly as good over LAN. Suse RPM's are available too. Quote Link to comment Share on other sites More sharing options...
paul Posted March 16, 2005 Report Share Posted March 16, 2005 I use pptpconfig which is a php-gtk app. it re write my routing tables so must be run as root, but that's ok ;) Quote Link to comment Share on other sites More sharing options...
Darkelve Posted March 17, 2005 Author Report Share Posted March 17, 2005 I use pptpconfig which is a php-gtk app.it re write my routing tables so must be run as root, but that's ok ;) <{POST_SNAPBACK}> Paul, I have that installed as well but... how do you connect to the (remote) Windows machine? Quote Link to comment Share on other sites More sharing options...
paul Posted March 17, 2005 Report Share Posted March 17, 2005 here's my setup for my connection to work. Server Tab: name - Monarch Server - smtp.monarch.co.nz Domain - LOKI Username - paul Password - *********** Routing Tab: Client to LAN checked edit network routes -->Network 192.168.4.0/24 --> Name - Monarch DNS: Automatic checked Encryption: Require Microsoft Point-to-Point Encryption (MPPE) checked Refuse to Authenticate with EAP checked MISC: nothing checked required modules (or built into kernel) apoc root # lsmod | grep pp ppp_mppe_mppc 15108 0 pppoe 10944 0 pppox 2952 1 pppoe ppp_deflate 5120 0 ppp_synctty 8192 0 ppp_async 9472 0 ppp_generic 21396 7 ppp_mppe_mppc,pppoe,pppox,ppp_deflate,bsd_comp,ppp_synctty,ppp_async slhc 6656 1 ppp_generic apoc root # I had to patch my kernel with linux-2.6.10-mppe-mppc-1.2.patch.gz and patched ppp with the same patch. I think mandrake might have the kernel patched already tho' ... not sure cat /usr/src/linux/.config | grep PP CONFIG_X86_USE_PPRO_CHECKSUM=y # CONFIG_BLK_DEV_IDEFLOPPY is not set # CONFIG_SCSI_PPA is not set # CONFIG_SCSI_SYM53C8XX_IOMAPPED is not set # CONFIG_HAPPYMEAL is not set # CONFIG_HIPPI is not set CONFIG_PPP=m # CONFIG_PPP_MULTILINK is not set # CONFIG_PPP_FILTER is not set CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_MPPE_MPPC=m CONFIG_PPPOE=m # CONFIG_PPDEV is not set # CONFIG_APPLICOM is not set CONFIG_VIDEO_CPIA_PP=m CONFIG_X86_MPPARSE=y ls /usr/portage/distfiles/ppp-2.4.3* /usr/portage/distfiles/ppp-2.4.3-mppe-mppc-1.1.patch.gz /usr/portage/distfiles/ppp-2.4.3.tar.gz Quote Link to comment Share on other sites More sharing options...
paul Posted March 17, 2005 Report Share Posted March 17, 2005 one more thing. I had problems with DNS if I used the DNS server on my work network, then I could connect, but all internet traffic went thru my VPN if I used my local DNS server, then none of the work machine names that I need would resolve. easy fix don't set any DNS entries in pptpconfig, and use the your local DNS server, then edit you /etc/hosts 127.0.0.1 apoc.loudas.com apoc localhost.localdomain localhost 192.168.4.3 balder balder.monarch 192.168.4.7 loki loki.monarch 192.168.4.9 frigga frigga.monarch 192.168.4.1 odin odin.monarch 192.168.4.10 fusion fusion.monarch # IPV6 versions of localhost and co ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts notice all my entries for 192.168.4.x for the machines I need to talk to while VPN'ed in :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.