From: "Pedro TRImel Neto" <pedrodrimel@uol.com.br>
To: netfilter@lists.netfilter.org
Subject: random IP
Date: Fri, 23 Dec 2005 10:31:08 -0200 [thread overview]
Message-ID: <002e01c607bc$c2949000$2f00a8c0@TRINTASETE> (raw)
Hi all,
I need to do that the connections from a linux box to other change the IPs
in random...
Scenario: A Linux box that has an phisic interface and two logic as eth0
eth0:0 eth0:1 with the ips 10.0.0.1 10.0.0.2 10.0.0.3
I did this rule:
iptables -t nat -A POSTROUTING -p tcp -d 10.0.0.4 -j SNAT --to 10.0.0.2
OK but I need that when do a ssh 10.0.0.4 each time it change de IP ... one
time with 10.0.0.1 the other 10.0.0.2 or 10.0.0.3... Or a rule per user...
example the user pedro has a rule that when he connect to 10.0.0.4 the IP
will be 10.0.0.2...
Sorry for my bad english...
Regards.
next reply other threads:[~2005-12-23 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-23 12:31 Pedro TRImel Neto [this message]
2005-12-23 13:09 ` random IP Rob Sterenborg
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='002e01c607bc$c2949000$2f00a8c0@TRINTASETE' \
--to=pedrodrimel@uol.com.br \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.