LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 05-06-2009, 03:24 AM   #1
masimiqbal
LQ Newbie
 
Registered: May 2009
Posts: 14

Rep: Reputation: 0
multiple -d flags not allowed


Hi,

when i run command "iptables -A INPUT -s 192.168.127.61 -d 192.168.127.42 -p TCP -dport 22 -j ACCEPT" display this error message "iptables v1.3.5: multiple -d flags not allowed". what take i necessary step to resolve this issue.

Asim
 
Old 05-06-2009, 03:48 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
syntax ?
I remember using it as --dport and not -dport
 
Old 05-06-2009, 04:25 AM   #3
masimiqbal
LQ Newbie
 
Registered: May 2009
Posts: 14

Original Poster
Rep: Reputation: 0
yes its syntax error

hi,
Its working now, thanks a lot. basically i am newbie in iptables.
Quote:
Originally Posted by bhaslinux View Post
syntax ?
I remember using it as --dport and not -dport
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracking user logins that was allowed and not allowed eswanepoel Linux - Security 3 08-02-2006 04:37 AM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 06:09 PM
Makefile question - multiple compilation flags benobi Programming 7 08-11-2005 01:42 PM
is the soundserver not allowed 4 multiple input?! DjRedMar Linux - Hardware 4 10-22-2003 02:18 PM
Compiling KDE 3.0 w/ multiple architecture flags (quick and easy question)? MatMan5959 Linux - Software 4 05-31-2002 01:57 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration