Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VPN Server on Linux 7.3

Status
Not open for further replies.

mundell

IS-IT--Management
Jul 11, 2000
22
0
0
US
I am trying to setup a VPN Server on Redhat Linux 7.3. I am having alot of problems for some reason. Here is the instructions I am trying to use but having problems.

##download and install kernel source from wget ftp://rpmfind.net/linux/redhat/7.3/en/os/i386/SRPMS/kernel-2..4.18-3.src.rpm
rpm -ivh kernel-2.4.18-3.src.rpm
cd /usr/src/redhat/SOURCES/linux

##Download mppe patch
wget zcat linux-2.4.16-openssl-0.9.6b-mppe.patch.gz | patch -p1
##Be careful, this is the most important part
##enable all iptable modules, masquerade modules, PPP modules, ext3 , scsi ,CPU type .........
make menuconfig
make dep; make clean; make bzImage ;make modules; make modules_install; make install
##see /boot/grub/menu.lst for updated boot options, use grub-install to install updated grub (if any)
#grub-install /dev/sda
reboot
###install patched ppp with mppe support
wget rpm -Uvh ppp-2.4.1-3mppe.i386.rpm
##install pptpd
wget ftp://ftp.planetmirror.com/pub/mppe/pptpd-1.1.3-1.i386.rpm
rpm -Uvh pptpd-1.1.3-1.i386.rpm
##put the following in /etc/pptpd.conf
#=========================================================================
I get to running this command zcat linux-2.4.16-openssl-0.9.6b-mppe.patch.gz | patch -p1 but what it does is gives me error
============================================================
[root@vpnserver SOURCES]# zcat linux-2.4.16-openssl-0.9.6b-mppe.patch.gz | patch -p1
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN linux/drivers/net/Makefile src/drivers/net/Makefile
|--- linux/drivers/net/Makefile Fri Oct 19 08:32:28 2001
|+++ src/drivers/net/Makefile Mon Dec 3 13:54:58 2001
--------------------------
File to patch:

Anyone know why it would do this??????????? Or any other solutions??????? Thanks

Robb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top