Results 1 to 4 of 4

Thread: How to connect to M$ VPN server?

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    2

    How to connect to M$ VPN server?

    Hi all,

    I have a problem here. I work from home controlling a remote XP machine (using XP's Remote Desktop) via a VPN connection. On XP it'a a simple Start->Connect->Remote LAN, launching the Remote Desktop app and I'm done. How can I do this with Knoppix? Googling around I've read horrible stories about kernel compiling and stuff while others point to simple clients which in turn are not easy to set up. Is there an easy way to accomplish this task? I can't believe that such a common need has not been covered. I am willing to lose some time on it but my collagues will certainly not. It has to just work. As in Windows. Any idea?

    Thanks

  2. #2
    Hear Hear.

    As I sit here on my non-HD-installed recently rescued PC trying to get into my employer's VPN I couldn't agree more. Imagine a Live CD wi/ VPN support so good employers actually encouraged its use to prevent the possibility of accidental virus / worm / other malware sneaking in.

    I know we could use rdesktop once we got in, but it's the getting in that's the hard part.

    [Edit]

    Well, maybe not so hard if your employer doesn't require MPPE encryption (not included in Knoppix, probably due to licensing restrictions... inclusion requires building a custom kernel according to the pptp-linux site). Definitely not like Windows, though.

    My Knoppix 4.0.2 CD (and probably earlier versions... don't know) includes the necessary pptp-linux package, but apparently you're expected to know how to do the manual configuration. Good luck! Instead, visit the following web page for me: http://pptpclient.sourceforge.net/howto-debian.phtml and follow along. (Don't know your level of experience so forgive the simplicity.)

    (0) Click Knoppix Penguin (next to K/Start Button) ->Root Shell

    Beware the dangers of ultimate power on your machine, etc.

    (1) To install & start pptpconfig, type the following commands:

    (See http://pptpclient.sourceforge.net/ho...ml#install_gui )
    One way of adding to your apt-get sources is to run the following command:
    Code:
    cat >> /etc/apt/sources.list
    Paste the following two lines from the website as the input 'cat' is waiting for:
    Code:
    # James Cameron's PPTP GUI packaging
     deb http://quozl.netrek.org/pptp/pptpconfig ./
    (You can paste by highlighting the text above and middle-mouse-button-clicking in the root shell. If you make a mistake, press Ctrl+C to cancel and the up arrow then Enter to pull up the command and re-run it.)

    Press Ctrl+D to let 'cat' know you're done.

    Since your apt-get sources now include the pptpconfig package, you can install it:
    Code:
    apt-get update && apt-get install pptpconfig
    (Press Enter when prompted to continue by the installation program.)

    Now you can start pptpconfig by typing in the command:
    Code:
    pptpconfig
    (1) Configure the connection

    (See http://pptpclient.sourceforge.net/ho...#configure_gui )

    I didn't want to bother with MPPE and luckily my employer doesn't require it, so I'll survive without it for now... by default the value is checked, so I had to go to the encryption tab and uncheck "Require Microsoft Point-to-Point Encryption".

    I also wound up choosing "Route all to Tunnel" on the Routing tab right away rather than connecting, pinging, disconnecting, choosing 'Route all to Tunnel' and then re-connecting. (In part because the following problem left the pptpconfig utility without the ability to resolve the IP address of the VPN server.)

    Also, pptpconfig seemed to leave /etc/resolve.conf messed up when I was done, so to be able to resolve domain names again I ran the following command to request a new DHCP address and update DNS:
    Code:
    pump
    (2) Tada! In hopefully at most 10 minutes for you (and a lot longer for me initially!) you can do a boatload of stuff that Windows makes as simple as clickety-click-click. I assume pptpconfig isn't on the Knoppix CD proper either because of licensing (doubt it) or it's hefty dependence on Gnomish libraries... maybe it's in Gnoppix.

    As always, good luck, and hopefully something as you've asked for will be in KNOPPIX sooner rather than later.

    [/Edit]

  3. #3
    Bah... after playing around for a long time all I know is that I can't route my way out of a paper bag!

    Seems I can't reach any of the Windows PCs on the network inside the VPN (though curiously a Windows CE device is reachable...). I played with routes, MTUs, etc. all to no avail. I can reach (a) myself on the other end, (b) the DNS server, and that's it... I guess I will be dropping an e-mail to the networking crew at work to see if they're interested in helping me find out what's going on.

    [Edit]

    Well, it turns out things may have been working... there was a power outage so most of the PCs were off. I guess the networking guys already know about my troubles as MPPE encryption is now required for VPN access... I've tried compiling the apt-get'able kernel source and quickly hit script/compiler errors, so it looks like the end of the line for me. Hope the above info was helpful to someone.

    [/Edit]

  4. #4
    Junior Member
    Join Date
    Sep 2005
    Posts
    2
    Thanks for the info. Unfortunately, my company decided not to use Linux for the laptops because of the lack of support for VPNs, and passed from W2000 to XP . I fear that unless Linux catches up in this and other areas, less and less companies will really use it for the desktop usages. The problem is that while Linux struggles (or simply doesn't seem to care as for the case of M$ VPNs) to catch up, the competion keeps moving forward.

Similar Threads

  1. how to start vnc server so i can connect from windows vnc?
    By Josh83 in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 05-04-2005, 11:44 AM
  2. cannot connect to X server :0.0
    By dsarmientos in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-11-2005, 04:11 AM
  3. kded: cannot connect to X server Sarge:0.0
    By phrostie in forum General Support
    Replies: 5
    Last Post: 12-29-2003, 11:01 PM
  4. Unable to connect to proxy server
    By johar in forum Networking
    Replies: 1
    Last Post: 10-15-2003, 08:40 PM
  5. Connect to LAN internet (Server is Windows XP)
    By mranderson in forum Networking
    Replies: 0
    Last Post: 09-19-2003, 04:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Supermicro CSE-502-2, X11SSH-F MB, Xeon E3-1268Lv5, 16GB DDR4, 2X480GB SSD picture

Supermicro CSE-502-2, X11SSH-F MB, Xeon E3-1268Lv5, 16GB DDR4, 2X480GB SSD

$259.99



Supermicro CSE-847 Server 2*INTEL XEON E5-2690 V2 96GB 36-Bay 3.5

Supermicro CSE-847 Server 2*INTEL XEON E5-2690 V2 96GB 36-Bay 3.5" 4U SEE NOTES

$200.99



HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's picture

HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's

$229.99



HP HPE Microserver Gen 7 8 9 iLO 2/3/4/5Advanced License Lifetime Key| FAST SHIP picture

HP HPE Microserver Gen 7 8 9 iLO 2/3/4/5Advanced License Lifetime Key| FAST SHIP

$10.00



HP ProLiant MicroServer Gen 8, Xeon E3-1220L V2, 16GB RAM, 4-BAYS, No HDDs picture

HP ProLiant MicroServer Gen 8, Xeon E3-1220L V2, 16GB RAM, 4-BAYS, No HDDs

$249.99



SuperMicro SuperServer 5018A-FTN4 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears  picture

SuperMicro SuperServer 5018A-FTN4 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears

$139.80



Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture

Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail

$199.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00