From: Joachim Wickman <jwickman@tawi.fi>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Hide IP for some users
Date: Fri, 25 Jan 2002 17:29:22 +0000 [thread overview]
Message-ID: <marc-lartc-101197976008331@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101194741123534@msgid-missing>
I thought so too, but can't get it to work. So I was thinking maybe I'm
doing something wront..
This is what I came up with.
iptables -t mangle -A OUTPUT -m owner --uid-owner 1006 -j MARK --set-mark
0x15
ip rule add fwmark 0x15 table vhost1
ip ro add default via 192.168.10.2 src 192.168.10.8 dev eth0 table vhost1
ip ro f ca
But no success... All trafic is still going out the box from my IP and not
the virtual.
On Fri, 25 Jan 2002, Patrick McHardy wrote:
> hi!
> You could mark the packets with the iptables owner extension
> (-m owner --gid-owner lusers), make some aliased interfaces
> and user the netfilter mark to route them out of these.
> hope that helps,
> patrick
>
> Joachim Wickman schrieb:
> >
> > Hello
> >
> > Is it possible to assign a couple of IPs to some users on the box, so when
> > they ftp, ircs or something the servers they connect to doesn't see my IP,
> > but only the assigned IPs ??
> >
> > It seems like it´s possible, but haven't had any luck with it.
> >
> > // Joachim
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
next prev parent reply other threads:[~2002-01-25 17:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-25 8:30 [LARTC] Hide IP for some users Joachim Wickman
2002-01-25 8:39 ` Patrick McHardy
2002-01-25 17:29 ` Joachim Wickman [this message]
2002-01-25 17:55 ` Fabrice Peix
2002-01-26 23:02 ` Martin Devera
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=marc-lartc-101197976008331@msgid-missing \
--to=jwickman@tawi.fi \
--cc=lartc@vger.kernel.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