Re: What modules do I need for MASQUERADE?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Sean,
I used the following script for IP masq recently
U can see what modules u need....
its in attachment
Regards
Rebel
--- sean darcy <seandarcy@xxxxxxxxxxx> wrote:
> Thanks for the reply. This is from the rawhide rpm,
> so all the modules are 
> there ( or should be!).Did as you sugggested ( I'm
> not using ftp or irc). 
> Here's what I get from lsmod:
> 
> iptable_mangle          2712   0  (autoclean)
> (unused)
> ipt_state               1048   2  (autoclean)
> iptable_filter          2348   1  (autoclean)
> iptable_nat            20632   1
> ip_conntrack           26120   2  [ipt_state
> iptable_nat]
> ip_tables              14520   6  [iptable_mangle
> ipt_state iptable_filter 
> iptable_nat]
> 
> Still the same problem. What other modules do I
> need?
> 
> sean
> 
> >From: Jamie Pratt <jamie@xxxxxxxxx>
> >Reply-To: jamie@xxxxxxxxx
> >To: sean darcy <seandarcy@xxxxxxxxxxx>
> >Subject: Re: What modules do I need for MASQUERADE?
> >Date: Fri, 27 Jun 2003 09:19:36 -0400
> >
> >Hi, Assuming you have compiled all the modules you
> will be needing in your 
> >script, this alone should do it all: (loads all
> required iptables modules)
> >
> >   ## Load netfilter modules
> >   /sbin/depmod -a
> >
> >   # Support for connection tracking of FTP
> >   /sbin/modprobe ip_conntrack_ftp
> >   ## if you want IRC conn tracking, uncomment
> this:
> >   #/sbin/modprobe ip_conntrack_irc
> >
> >regards,
> >jamie
> >
> >sean darcy wrote:
> >>I'm trying to run a simple nat on a redhat rawhide
> kernel:
> >>
> >>/sbin/iptables -t nat     -F
> >>/sbin/iptables -t nat     -A POSTROUTING -o  eth0 
>             -j 
> >>MASQUERADE
> >>
> >>What modules do I need to insmod?
> >>
> >>Is /sbin/modprobe iptable_nat  all I need?
> >>
> >>thanks
> >>sean
> >>
>
>>_________________________________________________________________
> >>MSN 8 helps eliminate e-mail viruses. Get 2 months
> FREE*.  
> >>http://join.msn.com/?page=features/virus
> >>
> >>
> >>
> >>
> >
> >--
> >
> >Jamie Pratt
> >Systems Administrator/Programmer Analyst
> >Norwich University Course Development Center
> >jamie@xxxxxxxxx | ph. (802)485-2532
> >
> >
> 

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Attachment: iptables
Description: iptables


[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux