Networking Forums

Networking Forums > Computer Networking > Linux Networking > issue reg NATing using iptables

Reply
Thread Tools Display Modes

issue reg NATing using iptables

 
 
query.cdac@gmail.com
Guest
Posts: n/a

 
      09-29-2007, 09:10 AM
Greetings ,

I am trying to configure NATing with iptables on Fedora Core 6 box
with NICs.

For this I am trying to execute the command.
iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE

But it gives me the following error.

""
iptables v1.3.8: can't initialize iptables table `NAT': Table does
not exist (do you need to insmod?) Perhaps iptables or your kernel
needs to be upgraded.
""

I loaded the following modules .

iptable_nat 11845 0
ip_nat 22253 2 ipt_MASQUERADE,iptable_nat
ip_conntrack 56993 5

ipt_MASQUERADE,iptable_nat,ip_nat,ip_conntrack_net bios_ns,xt_state
nfnetlink 11353 2 ip_nat,ip_conntrack
ip_tables 17669 2 iptable_nat,iptable_filter
x_tables 18501 8
ipt_MASQUERADE,iptable_nat,ipt_REJECT,xt_state,ip_ tables,ip6t_REJECT,xt_tcpudp,ip6_tables


After loading the modules , I am still getting the same error.

Please tell me where I am wrong. Do I have to install more modules ,
if then please
let me know the name of the modules.

With thanks in Advance
zaman

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      09-29-2007, 09:18 AM
(E-Mail Removed) wrote:
> Greetings ,
>
> I am trying to configure NATing with iptables on Fedora Core 6 box
> with NICs.
>
> For this I am trying to execute the command.
> iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE


iptables -t nat

(lower case)

should do the trick.

Robert

> [snip]

 
Reply With Quote
 
query.cdac@gmail.com
Guest
Posts: n/a

 
      09-29-2007, 09:26 AM
Greetings Robert ,

On Sep 29, 2:18 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
wrote:
> query.c...@gmail.com wrote:
> > Greetings ,

>
> > I am trying to configure NATing with iptables on Fedora Core 6 box
> > with NICs.

>
> > For this I am trying to execute the command.
> > iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE


>
> iptables -t nat
>
> (lower case)
>
> should do the trick.


Thanks for the quick reply . It worked .
That was a silly mistake I did .

regards
zaman




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Static Nating seriouswarm32@gmail.com Windows Networking 2 04-21-2008 07:00 PM
iptables only NATing the first udp packet in a "connection" shaharklein@gmail.com Linux Networking 0 10-02-2007 05:12 PM
Is my belkin F5D6130 NATing Sam Liddicott Wireless Internet 3 01-17-2004 02:46 PM
NATing using IPTABLES MalhiNet Linux Networking 1 12-30-2003 08:31 PM
User level NATing Manu J Linux Networking 2 09-24-2003 06:42 PM



1 2 3 4 5 6 7 8 9 10 11