LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VPN PPTPD POPTOP , not Stable, need some help! (https://www.linuxquestions.org/questions/linux-networking-3/vpn-pptpd-poptop-not-stable-need-some-help-112597/)

phtkiller 11-05-2003 05:55 AM

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


All times are GMT -5. The time now is 07:25 PM.