Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ted Kaczmarek <tedkaz@optonline.net>
To: bruce <bruce@gajshield.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables with multiport problem
Date: Tue, 05 Oct 2004 09:02:04 -0400	[thread overview]
Message-ID: <1096981324.27468.76.camel@inyoureyes.linsolutions.com> (raw)
In-Reply-To: <200410051250.i95CoY030305@securegate.mailserver.gajshield.com>

On Tue, 2004-10-05 at 18:17 +0530, bruce wrote:
> Hi all,
> 
> I am  working with linux firewall implementation
> 
> 
> I am using iptables version  v1.2.11 and  linux kernal 2.4.27.
> If multiport option comes with iptables(iptable rules are below), the 
> services are not working. But individual services are working properly. 
> The following filtering rules are not giving any syntatical errors.
> I checked logs no info..
> 
> #/sbin/iptables -A FORWARD -i eth0 -o eth1 -p tcp -s 192.168.2.0/24 -m 
> multiport --dport 24,80 -m multiport --sport 0:65535  -d 192.168.1.2  -j 
> ACCEPT
> 
> #/sbin/iptables -A FORWARD -i eth1 -o eth0 -p tcp -s 192.168.1.2 -m multiport 
> --sport 24,80 -d 192.168.2.0/24 -m multiport --dport 0:65535 -j ACCEPT
> 
> Please give any solution or hints for the below problem.
> Thanks
> Bruce
> 
I kind of remember multiport support coming via a patch. 
Also your 0:65535 is not multiport.

Ted



  reply	other threads:[~2004-10-05 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-05 12:47 iptables with multiport problem bruce
2004-10-05 13:02 ` Ted Kaczmarek [this message]
2004-10-05 18:31 ` Jason Opperisano
  -- strict thread matches above, loose matches on Subject: below --
2004-10-05 16:29 Daniel Chemko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1096981324.27468.76.camel@inyoureyes.linsolutions.com \
    --to=tedkaz@optonline.net \
    --cc=bruce@gajshield.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox