Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Joel Newkirk <netfilter@newkirk.us>
To: john@guntenaar.nl
Cc: netfilter@lists.netfilter.org
Subject: RE: per user IP adresses
Date: 06 May 2003 09:16:08 -0400	[thread overview]
Message-ID: <1052226968.32507.95.camel@alpha.newkirk.us> (raw)
In-Reply-To: <000201c313aa$bb09b710$0200a8c0@WKSJOHN>

On Tue, 2003-05-06 at 04:37, John Guntenaar wrote:
> Hi Joel,
> 
> Your LAN construction is exactly what I want, but I want that 1 of the 4
> IPs can only bind to the 4th IP, but when I try any of your rules I get
> errors :(
> 
> (And yes, I changed the real IP in 123.123.123.123 in here ;-))
> 
> jimbo:/var/www# iptables -A OUTPUT -p tcp -s 123.123.123.123/32 -m owner
> ! --uid-owner 1000 -j REJECT --reject-with tcp-reset
> iptables: Invalid argument
> 
> jimbo:/var/www# iptables -A OUTPUT -p tcp --dport 6667 -m owner !
> --uid-owner 1000 -j REJECT --reject-with tcp-reset
> iptables: Invalid argument
> 
> jimbo:/var/www# iptables -A OUTPUT -p tcp --dport 194 -m owner !
> --uid-owner \ 1235 -j REJECT --reject-with tcp-reset
> iptables: Invalid argument
> 
> So what could be wrong?

My bet would be you don't have/haven't loaded ipt_owner...  Try "insmod
ipt_owner".

j

> Thanks,
> 
> John





  reply	other threads:[~2003-05-06 13:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-04 18:38 per user IP adresses John Guntenaar
2003-05-04 19:19 ` SaVaGE
2003-05-04 19:18   ` John Guntenaar
2003-05-06  9:48     ` Chris Wilson
2003-05-05 23:46 ` Joel Newkirk
2003-05-06  8:37   ` John Guntenaar
2003-05-06 13:16     ` Joel Newkirk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-05  0:09 Khanh Tran
2003-05-05  8:30 ` John Guntenaar
2003-05-05 12:09   ` Arnt Karlsen

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=1052226968.32507.95.camel@alpha.newkirk.us \
    --to=netfilter@newkirk.us \
    --cc=john@guntenaar.nl \
    --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