LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2009, 03:31 PM   #1
laddu123
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Bad argument 'SNAT'


iptables -t nat -A POSTROUTING -d ! ${LOCALNET} -j SNAT --to ${EXTERNIP}

when i use this command to configure SNAT. I also entered appropriate addresses in place of {localnet} and {externip} but when i run the command it says ....

BAD agrument 'SNAT'

Please help me to fix this.

Thanks
laddu
 
Old 11-08-2009, 06:20 AM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
module?

Is the appropriate kernel module loaded?
 
  


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
Iptables-restore +script error: bad argument COMMIT xorl Linux - Server 5 04-14-2016 03:51 PM
IPTables trouble with DNAT target (bad argument error) Eightpock Linux - Software 9 06-16-2008 10:36 AM
RAID PROBLEM Invalid argument, bad superblock magic in messages.log ***SOLVED*** Berkut83 LinuxQuestions.org Member Success Stories 0 03-29-2006 03:44 AM
bad argument 'iptables' gpamkenny Linux - Newbie 4 10-29-2004 10:25 AM
Bad Argument '53' IPtables doesn't run and has no bash debug lines? piratebiter Linux - Security 3 09-02-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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