ppp & NT VPN Questions

ppp & NT VPN Questions

Post by Cokey de Perci » Mon, 22 Jun 1998 04:00:00



I'm trying to connect to an NT based VPN.  The initial connection
is through Compuserve, which apparently uses DES encription, and
then it is routed to an NT domain within the co.  I've installed
ppp-2.3.5 and can make the first part of the connection, but the
second part escapes me... :(

The logon sequence goes like this:

1) connect to Compuserve with:
   Compuserve - Host Name: XXXXNT
   Compuserve - UIC:       SOMEBODY:1234
   Compuserve - Password:  ABCDEF

   Note that there must also be a MSCHAP secrets file

2) logon to local Co. domain:
   Host User ID:  ABCDEFG
   Host Pasword: HIJGLMN
   Domain:       WXYZ

The log looks like this{

Jun 21 12:53:44 gandolf chat[9960]: CONNECT
Jun 21 12:53:44 gandolf chat[9960]:  -- got it
Jun 21 12:53:44 gandolf chat[9960]: send (^M)
Jun 21 12:53:44 gandolf chat[9960]: expect (ame:)
Jun 21 12:53:44 gandolf chat[9960]:  26400/ARQ/V34/LAPM/V42BIS^M
Jun 21 12:53:44 gandolf chat[9960]: ^M
Jun 21 12:53:44 gandolf chat[9960]: ^M
Jun 21 12:53:44 gandolf chat[9960]:  0030JSC^M
Jun 21 12:53:44 gandolf chat[9960]: ^M
Jun 21 12:53:44 gandolf chat[9960]: Host Name:
Jun 21 12:53:44 gandolf chat[9960]:  -- got it
Jun 21 12:53:44 gandolf chat[9960]: send (XXXXNT^M)
Jun 21 12:53:44 gandolf chat[9960]: expect (UIC:)
Jun 21 12:53:44 gandolf chat[9960]:   XXXXNT^M
Jun 21 12:53:45 gandolf chat[9960]: UIC:
Jun 21 12:53:45 gandolf chat[9960]:  -- got it
Jun 21 12:53:45 gandolf chat[9960]: send (SOMEBODY1234^M)
Jun 21 12:53:45 gandolf chat[9960]: expect (word:)
Jun 21 12:53:45 gandolf chat[9960]:  SOMEBODY1234^M
Jun 21 12:53:45 gandolf chat[9960]: Password:
Jun 21 12:53:45 gandolf chat[9960]:  -- got it
Jun 21 12:53:45 gandolf chat[9960]: send (PASSWORD^M)
Jun 21 12:53:45 gandolf pppd[9959]: Serial connection established.
Jun 21 12:53:46 gandolf pppd[9959]: Using interface ppp0
Jun 21 12:53:46 gandolf pppd[9959]: Connect: ppp0 <--> /dev/modem
Jun 21 12:54:19 gandolf pppd[9959]: LCP: timeout sending Config-Requests
Jun 21 12:54:19 gandolf pppd[9959]: Connection terminated.
Jun 21 12:54:20 gandolf pppd[9959]: Exit.

I can get pppd/chap to make a connection in part 1, but how do I get
the script to continue?  Anyone doing anthing like this??  Any ideas
greatly appreciated.

Best

Cokey

--
------------------------------------------------------------------
Cokey de Percin, DBA            Email:


 
 
 

1. PPP & SSH & VPN

Help!!!

I am setting up PPP to run through SSH.  The config I have uses 3 machines
linked in a chains as follows :-

                  Master <----------------------> Internet
<---------------------> Slave
         eth0                 eth1                       eth1
eth0                      eth1              eth0
192.168.3.1/24     1.0.0.1/8          1.0.0.254/8     2.0.0.254/8
2.0.0.1/8     192.168.4.1/24

Each machine has 2 Ethernet cards eth0 and eth1.  All machines have IP
forwarding enabled and I can successfully telnet from 1.0.0.1 to 2.0.0.1.
The middle machine is acting as the internet i.e.. routing everything
between its interfaces.

I have set-up SSH to enable successful logins to a "vpn" on to the Slave
machine from the Master.

I have then set-up a PPP link that negotiates and appears to set-up OK
between both Master and Slave over the SSH link.

The PPP IP addresses that I wish to use are 192.168.1.1 on Master and
192.168.1.2 on Slave.  These appear to get configured on both Master and
Slave as ppp0 but with a subnet mask of 255.255.255.255.

I am unable to ping either address on each ppp0 interface?  I have tried
configuring the netmask manually to 255.255.255.0 using ifconfig and add
routes to route between the 192.168.3.0 and 192.168.4.0 networks but am
still unable to ping or telnet between the two?

I have followed all The Linux VPN/SSH HOWTO's etc. but still no luck.

I am running on RedHat 6.2 using SSH1 (latest release) and PPP 2.3.11.

Any help is much appreciated.

Thanks in advance

David.

2. nn ftp site?

3. VPN using ppp+ssh question (ppp-2.3.5 does not support pty)

4. Virtusal sessions

5. ppp && PPPoE && ADSL && net && buffer(s)

6. Apache, mod_ssl and openssl

7. NT NT NT NT NT NT NT MT

8. Apache mod_limit ?

9. Linux vpn & cisco vpn client

10. Tunneling question to replace NT VPN/PPTP

11. UNIX && NT question

12. A few pptpd/ppp questions (Or: How to make sure the VPN-Tunnel is always up?)

13. Hard Drive Access will using PPP & PPP routing questions