LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2007, 12:31 PM   #16
jwaustin
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0

I have been able to connect to my domain using a PPTP connection from inside my firewall. The connection points to the internal IP address 192.168.0.102 of the Linux box serving the VPN access.

What I was unable to test was a connection out through the firewall (DLink 624) to the firewall's external address, this should be port forwarded to the 192.168.0.102 address of the Linux box. I have not tested that since I found the DLink document quoted above but I would expect that to work.

I thought you were describing attempt to call out from inside the inner network protected by the Linux box. In my case 192.168.1.* addresses. I understand this is not supposed to work.
 
Old 05-21-2007, 12:39 PM   #17
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Original Poster
Rep: Reputation: 15
I'm trying to do what you did.

Quote:
Originally Posted by jwaustin
I have been able to connect to my domain using a PPTP connection from inside my firewall. The connection points to the internal IP address 192.168.0.102 of the Linux box serving the VPN access.
 
Old 05-21-2007, 02:20 PM   #18
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Original Poster
Rep: Reputation: 15
I think the problem is that pptpd can't match my username, password and/or domain because my new error message is:

Code:
pppd[26754]: Peer MOENTERPRISE\\darren.mo failed CHAP authentication
pppd[26754]: Connection terminated.
pppd[26754]: Exit.
pptpd[26753]: GRE: read(fd=6,buffer=8059680,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
pptpd[26753]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)

Last edited by moenterprise; 05-21-2007 at 02:26 PM.
 
Old 05-21-2007, 02:27 PM   #19
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Original Poster
Rep: Reputation: 15
This is my chap-secrets file (with some comments cut out):

Code:
* pptpd &/etc/samba/smbpasswd *
I did that line myself.

Last edited by moenterprise; 05-21-2007 at 02:29 PM.
 
Old 05-25-2007, 10:20 PM   #20
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Original Poster
Rep: Reputation: 15
Hello? Anybody?
 
Old 05-26-2007, 04:44 PM   #21
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Try a test comment out that line in your chap-secrets file and place a valid username for the domain in the file with a password, try logging on using that usernae and password, the you will at least see if it's an error in your Chap-secrets line or within samba, but it would let you know if the VPN is working appropriately.
 
Old 06-03-2007, 05:16 PM   #22
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Original Poster
Rep: Reputation: 15
I have figured out that it is VPN's authentication process that is giving me trouble. This is my chap-secrets:
Code:
darren.mo pptpd mypassword *
On my Windows machine, I typed in the correct username and password and I allowed only CHAP authentication. This is the log file:
Code:
The remote system is required to authenticate itself
but I couldn't find any suitable secret (password) for it to use to do so.
(None of the available passwords would let it use an IP address.)
So that didn't work...

Next I tried VPN with no authentication at all. I put "noauth" in both /etc/pptpd.conf and /etc/ppp/options.pptpd. It connected perfectly!
Hmmmmm...I wonder if that log message about the IP address is important...
 
Old 06-05-2007, 11:04 PM   #23
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Original Poster
Rep: Reputation: 15
I DID IT!!! All I had to do was put quotes around my password because my password has all sorts of symbols (including the # symbol, which is also a comment).

But now...I have a new question! How do I configure my server so that I can connect from another computer on the network out to moenterprise.no-ip.org instead of 192.168.249.105? It doesn't work because the server thinks that it is looping back because both computers are behind the same router. So...how? Do I edit the /etc/hosts file or something?
 
Old 06-06-2007, 05:44 AM   #24
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
You have to khook that computer up to a diffeerent internet connection, the easiest to test is to use a modem PPP connection to test it.
 
Old 06-06-2007, 06:24 AM   #25
veroaimeca
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
http://www.pink-martini.org/missions...rMeOJ7Lhf6Vu5L
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
poptop vpn server problem deus1 Linux - Networking 1 05-23-2006 04:37 PM
vpn server and new problem omid1979 Linux - Networking 1 08-27-2005 10:21 PM
VPN Question Win98->internet->Router->Linux VPN Server->Win2k Server patrickrea Linux - Networking 1 08-10-2004 02:09 AM
PopTop vpn server problem bjorngi Linux - Networking 0 02-25-2004 05:39 AM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration