LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Reply
  Search this Thread
Old 11-05-2003, 05:55 AM   #1
phtkiller
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Rep: Reputation: 0
VPN PPTPD POPTOP , not Stable, need some help!


Hi,

I am trying to set up a VPN Between to offices.

I am using RH9 fully updated
also using the newest versions of pptpd and poptop
The problem is:
I have no problem connecting, but when I tried to map a drive on the other side network
it take too much time to map it, and sometimes it does not map at all.. I can ping with no proplems.. Assuming that my vpn server has 2 NICS for VPN testing and I am running on /100 speed is not the problem.

this is My config files.

/etc/pptpd.conf

debug
option /etc/ppp/options.pptpd
localip 192.168.0.101-110
remoteip 192.168.0.200-254
----------------------
/etc/ppp/options.pptpd

lock
proxyarp
#mppe-40
#mppe-128
#mppe-stateless
#require-chapms-v2
ms-dns 192.168.0.100
ms-dns 200.150.160.37
netmask 255.255.0.0

----------------------------

I also did a script to set up routing from my vlan client to inside my network, because i Could not ping the other hosts on my network before.
the problem may be something to do with that. because im not very familiar with iptables.

#!/bin/sh

/sbin/iptables --flush
/sbin/iptables --table nat --flush
/sbin/iptables --delete-chain
/sbin/iptables --table nat --delete-chain

/sbin/iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
/sbin/iptables --append FORWARD --in-interface ppp0 -j ACCEPT
/sbin/iptables --append FORWARD --in-interface eth1 -j REJECT
echo 1 > /proc/sys/net/ipv4/ip_forward

--------------------

ALL HELP WILL BE VERY HELPFULL

Sorry about my english...my portuguese is better.

Thanks in adavance
 
  


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
POPTOP PPTPD WINBIND PDC Authentication tomjermy Linux - Networking 1 03-14-2005 09:42 AM
VPN pptpd problems ?!?!? thewonka Linux - Networking 1 02-23-2005 06:44 AM
PoPToP VPN with Shorewall: can only reach PoPToP server pgwillemsen Linux - Networking 0 12-27-2004 07:11 AM
How to use VPN with Poptop? hp83 Linux - Networking 0 07-26-2004 01:53 AM
PopTop (pptpd) server: authenticate against LDAP or User DB? aa_tango Linux - Networking 0 05-26-2004 05:50 PM

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

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