LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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


View Poll Results: Am I far too long winded?
Yes, but I like you anyways 1 33.33%
Yes, don't ever post again 1 33.33%
No, I would like you to steal more of my precious time 1 33.33%
No, you are just you, being who you are, I guess 0 0%
Voters: 3. You may not vote on this poll

Reply
  Search this Thread
Old 01-24-2004, 10:01 PM   #1
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Lightbulb ppp, and or vpn routing solution


I'm not sure if there are many/any postings out there like this one. It's not really a question but a solution for something that has take me a long time to figure out, partly because no one could tell me how to do it.

I have read posting here, and elsewhere, regarding pptp (point-to-point-tunneling-protocol) (provided by poptop server on linux) as well as ppp, in which the postings are trying to figure out routing, through the ppp connection. I read all of the articles I could find, all the books I bought, and I followed steps. Nothing worked! And after many months of hair pulling and cussing, and sleepless nights, I found the solution, and it was simple, so simple to the point that it entailed only one change, and to be honest I don't know whay this change made it work, as a matter of fact theoretically from my understanding and my reading, making this change should have taken me back a step, not moved me up one. But who am I to think about logic too much.

Well without further blabbering on my part, for those of you on this site looking, and those of you who found this on a search engine, here it is.

In the pptpd-options file or the ppp.options file ( as the case may be) you need to disable the proxyarp option. This could basically entail what I did which was comment out proxyarp, and then restart pptpd.

Now for those of you who are wondering why this shouldn't work (and I'm sure all of you care, right?) this is how I understand it.

proxyarp option allows the NIC on the server to be a proxy for the ppp connected computer, faking the local lan into believing that the ppp connected computer is right there with them. By disabling this you should be preventing the lan from seeing the ppp connected computer because the server is no longer suposed to be acting on behalf of the ppp computer.

Well all I can say in the end is, I had proxyarp enabled and I could see the connected computers in the network neighborhood on my windows box, but everytime I tried to access them I would get a not on network error. I tried using an ipchains rule with ip-up.d, tried messing with options, nada. I disable proxyarp, on a "what the hell I've been at it for months, what have I got to lose" whim, and boom I can acces them.

Well I hope this helps some of you, since I couldn't find this info anywhere, I decided it had to be put somewhere. good luck to all. Now its time to figure out why warcraft III won't recognize the lan game on the vpn connected comp. Then after that it's time to solve the xp home sp1 - samba, logon problem(another one that I can't find any solutions to) So much to do so little time. ttfn

--Alex

PS: I love this forum, unlike so many others I have come by no one here iever seems to be rude to anyone else, for posting problems with obvious solutions or even double posting, which can be annoying, just wanna say:

I love you guys, in a platonic sort of way

Last edited by scheidel21; 01-24-2004 at 10:18 PM.
 
Old 01-25-2004, 03:50 AM   #2
hsiehkc
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
Thanks guys:

The problem I faced had been solved. Basically I followed the article http://pptpclient.sourceforge.net/routing.phtml. It realy is a nice one.
And I also decreased MTU to avoid MRU error from ppp.
 
Old 01-27-2004, 10:59 PM   #3
orbiteleven
Member
 
Registered: Oct 2003
Location: Iowa City, IA
Distribution: Mandrake 10
Posts: 49

Rep: Reputation: 15
What distro are you using. I can't seem to find ppp.options or pptpd-options. I found a options.pptp, but no reference to proxyarp
 
Old 01-28-2004, 04:28 PM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Original Poster
Rep: Reputation: 100Reputation: 100
I am using debian sarge. However, the ppp configuration files are located in /etc/ppp on all distros I believe, as for pptpd-options you need to have poptop installed. poptop is application for a pptp server and pptpd is the daemon. you can find the source for poptop on sourceforge, ar check a place like rpmfind.net for a precompiled binary for your distro. the options.pptp is the options file for the pptp client on linux, you need the server poptop if you want to run your own pptp server.

--Alex
 
Old 01-30-2004, 05:12 PM   #5
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15
The solution for the XP/Samba is more than likely the "sign and seal" registry change needed.

Check out Mandrake User Samba PDC doco, it tells you how to make the change to the XP registry.
 
Old 01-31-2004, 11:10 AM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Original Poster
Rep: Reputation: 100Reputation: 100
Thanks for the sign or seal suggestion but I already had that changed, then when I ran into problems I changed it back to 1 then nothing then I changed it to 0 again and nothing no such luck but thanks anyways.

--Alex
 
  


Reply



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
Routing issue with VPN Client into PPP/Poptop loopy69 Linux - Networking 1 10-07-2004 08:48 AM
Solution to ppp woes opened my way to linux as an OS geesloper LinuxQuestions.org Member Success Stories 1 06-20-2004 09:08 AM
wireless concerns: is a VPN the solution? yocompia Linux - Security 5 09-16-2003 01:43 PM
Good VPN solution tarballedtux Linux - Security 1 11-01-2002 08:45 AM
Need PPP Dialup solution David Linux - Newbie 3 05-03-2001 12:19 PM

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

All times are GMT -5. The time now is 06:47 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