LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-13-2004, 01:51 PM   #1
mightym
LQ Newbie
 
Registered: Nov 2002
Posts: 3

Rep: Reputation: 0
RH9 - pptp-conntrack-nat.patch


Hello,
I'm running Redhat 9 as a dedicated firewall box and I need to get the pptp-conntrack-nat.patch installed into the iptables source so that I can access a NAT'ed VPN server on the private side of the firewall.

I've never patched the iptables source before, and I'm curious as to where I should start.

If someone would provide me with a brief rundown of my options for installing this patch, it would be greatly appreciated.

Currently running kernel version: 2.4.20-6

Thx in advance for any help!

Last edited by mightym; 10-13-2004 at 01:58 PM.
 
Old 10-15-2004, 08:22 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
First of all, your kernel version is not a kernel from Red Hat Linux 9. Please look into getting the last errata packages and the newer security fixes for Red Hat Linux 9 from http://www.fedoralegacy.org

Secondly, the easy way to patch iptables is to fetch the latest iptables src.rpm package for Red Hat Linux 9, install the "rpm-build" package, extract the iptables src.rpm (rpm -ivvh does this, too) and modify the included *.spec file to add and apply another patch. Then use "rpmbuild -bb *.spec" to build the binary package. With a little bit of web searching, I'm certain you would find howtos/tutorials on RPM building, in particular documentation on how to build as non-root user. It's all straight-forward, at least after doing some reading. Though, since iptables examines the kernel configuration, you may need to patch your kernel first with netfilter patch-o-matic (or whatever contains the pptp-conntrack-nat kernel code).

Note that (re-)building src.rpms as root user below /usr/src/redhat bears security risks of all sorts.
 
  


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
pptp-conntrack-nat jobbe314 Linux - Networking 1 07-16-2005 10:37 AM
Openswan NAT-T patch conflicts with RedHat 2.4.21 kernel barisdemiray Linux - Networking 1 07-14-2005 10:17 AM
Help! problem with PPTPD and pptp nat helper radien Linux - Networking 0 12-21-2004 09:27 AM
NAT in RH9 mazzo Red Hat 2 11-29-2004 02:54 PM
Mandrake 8.2 - NAT, conntrack, & H323 gboutwel Linux - Distributions 15 07-07-2002 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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