LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-25-2003, 04:23 PM   #1
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
Question pptp vpn netmask


I am not entirely new to linux, however, I have been having a problem regarding my pptp vpn. I know many suggest other vpn solutions but I wanted a simple one with user authentication not hardware certificate based like IPSec....plus I want to maintain compatability with older win machines w/o having to worry about third party software. My problem is actually two.

1) When I log on, it is succesful, howerver the netmask assigned is 255.255.255.255.... the netmask for my lan is 255.255.255.0 all of the configuration files have my lan netmask listed appropriatley -- that is it is listed in ppp config file and pptpd config

2) I set up a samba server on the same machine to allow for network neighborhood/workgroup simple browsing, as well as server shares to the machines on the local network...when I logon to the vpn, I sometimes get the lan machines to show up. I say sometimes because depending on the username I validate with it will or will not show then in the network list. Finally when I attempt to access a vpn connection computer, or a comp on the lan from a vpn connection I get an error something like "Device not found on network"

My lan consists of 3 machines and a router in the following diagram

router/firewall
192.168.0.1
|
|
--------------------------------------------------------------------
| | |
linux server WINXP Home WINXP Home
debian ppc 192.168.0.102 192.168.0.103
no firewall
no masquerading
192.168.0.100

my netmask 255.255.255.0
net addresses 192.168.0.x

I can't figure out why this stuff isn't working I wondered if it has anything to do with the localip and remoteip settings...although I am using static IP assignment with chap-secrets. is there something I have to do that I haven't I'm not running ipchains since the router is masquerading/NAT for the network.

I would greatly appreciate any advice suggestions etc any of you may have

Thanks Alex
 
Old 02-26-2003, 06:24 AM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Please check the proxyarp is enabled or not ?. It may be a netbios issue.

Siddiqu.T
 
Old 02-26-2003, 12:27 PM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Original Poster
Rep: Reputation: 97
proxyarp is set in the ppp options file, as well as the pptpd.options file I also have entries in the lmhosts and hosts files with the remote ip addresses assigned to each username. could it be a ip negotiation issue with pppd and the ppp client?
 
Old 03-23-2003, 04:15 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Original Poster
Rep: Reputation: 97
I know this is kinda old but theres a new documentation site by the developers of poptop

http://poptop.sourceforge.net/

it appears to have quite a lot of information about problems like the one I have been haveing.

-Alex
 
Old 02-26-2010, 05:19 PM   #5
Mantalek
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
IP4 Forwarding

I had the same problem as #1 and solved it by enabling IP4 Forwarding - set /proc/sys/net/ipv4/ip_forward to 1
 
Old 03-01-2010, 08:19 AM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Original Poster
Rep: Reputation: 97
Thanks for the suggestion but I have now since moved to OpenVPN, it doesn't allow me to access from any windows computer because I need the software but I now have a laptop so I just need Internet access now.
 
  


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
VPN pptp Connection GroverB Linux - Networking 1 10-29-2005 04:13 PM
Pptp & Vpn bahramcho Linux - Networking 1 05-08-2005 03:15 PM
VPN configuration pptp ssfrstlstnm Linux - Networking 5 05-02-2005 04:53 AM
Vpn, Pptp???? ABL Linux - Networking 3 03-11-2005 05:54 PM
iptables and pptp vpn SSBN Linux - Networking 6 06-03-2003 03:35 PM


All times are GMT -5. The time now is 09:19 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration