Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- Date: Fri, 7 Jun 2002 15:31:07 +0900
- From: "lists" <lists@example.com>
- Subject: Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- References: <F38J3sl3xbYiMCIqtQv0000eca0@example.com> <004101c20dd7$2067abb0$5f00a8c0@example.com> <20020607125424.C271@example.com> <20020607134130.A1591@example.com>
----- Original Message ----- From: "Jim Tittsler" <jwt-tlug@example.com> To: <tlug@example.com> Sent: Friday, June 07, 2002 1:41 PM Subject: Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems > On Fri, Jun 07, 2002 at 12:54:24PM +0900, Matt Doughty wrote: > > On Fri, Jun 07, 2002 at 12:55:12PM +0900, lists wrote: > > > querade-HOWTO.html#IPMASQ-INTRO1.0 , and it seems to infer that I have to > > > recompile my kernel... Is this really necessary right after an upgrade? I > > > guess I expected 7.2 to come with Masq support for the new iptables method > > > built in... Any thoughts? > > You can use iptables or ipchains without having to rebuild > the kernel. > > 7.2 uses iptables, I imagine your NAT stuff used ipchains. You probably > > need to convert. > > But the RedHat kernel does ship with the ipchains.o > "compatibility layer", so when that is loaded, the old rules > should continue to work. (And in fact, the default RH 'lokkit' > configuration uses ipchains.) What I have been doing so far is going through /etc/rc.d/rc.local and commenting out the old ipchains lines, adding in the same thing with iptables instead. Is this correct? # 1) Flush the rule tables # /sbin/ipchains -F input # /sbin/ipchains -F forward # /sbin/ipchains -F output /sbin/iptables -F INPUT /sbin/iptables -F FORWARD /sbin/iptables -F OUTPUT > If 'lsmod' doesn't show the > 'ipchains' module being loaded, you might try manually loading > it with modprobe or insmod, before trying to insert your rules. # /sbin/lsmod Module Size Used by nls_iso8859-1 2832 1 (autoclean) iptable_filter 2256 0 (autoclean) (unused) ip_tables 11936 1 [iptable_filter] Looks like ip_tables is being loaded... after replacing the ipchains lines above with iptables lines, I assume I just restart networking and I should be good to go ... ? Anything wrong here? Shawn
- Follow-Ups:
- [tlug] IPChains -> IPTables
- From: lists
- References:
- [tlug] Secret Cabal TLUG ML?
- From: Jean-Christian Imbeault
- [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- From: lists
- Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- From: Matt Doughty
- Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- From: Jim Tittsler
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- Next by Date: Re: [tlug] Mozilla printing question.
- Previous by thread: Re: [tlug] RH 6.2 -> 7.2 : Masq and PHP/MySQL problems
- Next by thread: [tlug] IPChains -> IPTables
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links