amiga.org
     
iconAll times are GMT -6. The time now is 04:35 AM. | Welcome to Forum, please register to access all of our features.

Amiga.org Amiga computer related discussion Amiga Software Issues and Discussion PPTP VPN between MiamiDX and Microsoft RRAS?

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 01-27-2010, 07:35 PM   #1
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default PPTP VPN between MiamiDX and Microsoft RRAS?

Has anyone successfully configured PPTP VPN connections from MiamiDX to Microsoft Windows RRAS?

I am playing with this over the next few days, and tonight's experiment did not go well. Well, it did not go at all. heheheh
LoadWB is offline   Reply With Quote
Old 01-28-2010, 09:53 AM   #2
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

Quick update. I have been able to successfully establish a PPTP connection to RRAS, but I apparently need to read more about routing in MiamiDx. Neat.

If I am completely successful, I will be able to manage remote servers via RDP over VPN. Pretty much the only thing I cannot do with my Amiga that my Windows machine can do.
LoadWB is offline   Reply With Quote
Old 01-28-2010, 09:54 AM   #3
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

--double posted--

Last edited by LoadWB; 01-28-2010 at 10:44 AM.. Reason: Dunno what happened thar.
LoadWB is offline   Reply With Quote
Old 01-28-2010, 01:19 PM   #4
Zac67
Kindred of Babble-on
Points: 12,866, Level: 74 Points: 12,866, Level: 74 Points: 12,866, Level: 74
Activity: 16% Activity: 16% Activity: 16%
 
Zac67's Avatar
 
Join Date: Nov 2004
Location: Erlangen, Germany
Posts: 2,890
Blog Entries: 4
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

PPTP usually does not include any means of encryption. MS RRAS does, but does Miami as well?
Zac67 is offline   Reply With Quote
Old 01-28-2010, 01:29 PM   #5
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

With MiamiSSL installed, it does enough to work with MS-CHAP. As for transport, I'm not sure yet until I get routing to work. I have an idea to try again tonight.
LoadWB is offline   Reply With Quote
Old 01-28-2010, 05:01 PM   #6
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

I had a few seconds before I have to run to a job site. I made sure my ppp0 interface had a dynamic gateway with a priority of 11, then brought ppp0 online.

That connected, and in the miaminetstat -r -n output it showed that the other network 192.168.0.255 routed through ppp0. But it also showed my default gateway now as ppp0. When I tried to ping the server on the other side, EVERYTHING locked up

Reboot, will try a manual route. The only problem is miamiroute does not seem to accept the syntax I am feeding it based upon the route man page (miamidx.guide refers to BSD route.) Perhaps I am working with the wrong route command. Will have to play again later.
LoadWB is offline   Reply With Quote
Old 01-28-2010, 11:42 PM   #7
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Cool Re: PPTP VPN between MiamiDX and Microsoft RRAS?

Got it working. I played with my routes for over an hour, only to find that my routes were not the problem, but rather the "Data Encryption" setting in the ppp0 interface.

The route turned out to be pretty easy (especially once I found the correct BSD syntax.)

Code:
miamiroute add -net 192.168.x.0 192.168.x.y
Where x is the matching octect of the remote network, and y is the IP address of the far end of the ppp0 connection. In this case, y=19:

Code:
miamiifconfig ppp0
ppp0: flags=8011<UP,POINTTOPOINT,MULTICAST>
        inet 192.168.1.13 --> 192.168.1.19 netmask 0xffffff00
Why does encryption not work? Well, truth be told I am not using the correct version of the encryption library for MiamiSSL. I will work to correct that soon and try again. For my purposes in this scenario, encryption is not an imperitive, though it is very important in the long-term. As is the fact that RRAS is allowing unencrypted connections in the first place. (Time for more hardening.)

Hope this helps someone else. It was a little annoying, but more fun.

Last edited by LoadWB; 01-28-2010 at 11:46 PM.. Reason: Minor clarification
LoadWB is offline   Reply With Quote
Old 01-29-2010, 12:37 AM   #8
Zac67
Kindred of Babble-on
Points: 12,866, Level: 74 Points: 12,866, Level: 74 Points: 12,866, Level: 74
Activity: 16% Activity: 16% Activity: 16%
 
Zac67's Avatar
 
Join Date: Nov 2004
Location: Erlangen, Germany
Posts: 2,890
Blog Entries: 4
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

You can't configure the default gateway into the tunnel. That makes the tunnel end unreachable and it will break up - but you've already figured that out.
Zac67 is offline   Reply With Quote
Old 01-30-2010, 10:29 AM   #9
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

MiamiDx documentation states that the Data Encryption option in PPP Settings only supports Microsoft's MPPE for PPTP connection. Which is obviously fine for my purposes. When activated, however, the PPTP tunnel does not work -- MiamiDx shows data transmitted, and RRAS show data received, but there is no data from RRAS to MiamiDx.

Additionally, last night I fired up YAM to search through all my stuff from Nordic Global to look for my Miami key and SSL library (as well as the terse email from Holger about how I pirated his software when my key was replaced by the bogus Digital Corruption datatype trojan way back when -- yeah, I fell for it, too) All I have is my original Miami.key1 file, and nothing else. So I no longer have origmiamisslusa.library available to me, which might or might not be my problem.

Ah, well. It does work without encryption, which will suffice for now.
LoadWB is offline   Reply With Quote
Old 04-01-2011, 01:31 PM   #10
LoadWB
VIP / Donor
Points: 14,089, Level: 77 Points: 14,089, Level: 77 Points: 14,089, Level: 77
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Jul 2006
Posts: 2,228
Default Re: PPTP VPN between MiamiDX and Microsoft RRAS?

A year later and I finally got back to this. I found and installed my copy of the Miami SSL library for USA, and the PPP encryption still does not work.
LoadWB is offline   Reply With Quote
Reply

Bookmarks

Tags
miamidx , microsoft , pptp , rras , vpn

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump