* [IPTABLES] Module ipt_same
@ 2015-07-31 5:24 Alex william
2015-08-10 9:55 ` Jan Engelhardt
0 siblings, 1 reply; 3+ messages in thread
From: Alex william @ 2015-07-31 5:24 UTC (permalink / raw)
To: netfilter-devel
Hello,
My objective is if ip A.A.A.A goes to B.B.B.B it is natted with IP X.X.X.X
then if A.A.A.A re-establishes a session with B.B.B.B it is natted with
the same IP X.X.X.X. According to my reseach the module ipt_same does
that:
SAME (IPv4-specific) Similar to SNAT/DNAT depending on chain: it takes a
range of addresses (`--to 1.2.3.4-1.2.3.7') and gives a client the same
source-/destination-address for each connection.
But seems like the module ipt_same is not available under iptables v1.4.21
Kernel: 3.16.7.
Are there any module available that can help achieve my objective?
Thanks.
Regards,
Kaviraj
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [IPTABLES] Module ipt_same
2015-07-31 5:24 [IPTABLES] Module ipt_same Alex william
@ 2015-08-10 9:55 ` Jan Engelhardt
2015-08-10 10:34 ` Alex william
0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2015-08-10 9:55 UTC (permalink / raw)
To: Alex william; +Cc: netfilter-devel
On Friday 2015-07-31 07:24, Alex william wrote:
>Hello,
>
>My objective is if ip A.A.A.A goes to B.B.B.B it is natted with IP X.X.X.X
>then if A.A.A.A re-establishes a session with B.B.B.B it is natted with
>the same IP X.X.X.X. According to my reseach the module ipt_same does
>that:
Word on the street is that regular SNAT already does that, which is why
SAME is gone.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [IPTABLES] Module ipt_same
2015-08-10 9:55 ` Jan Engelhardt
@ 2015-08-10 10:34 ` Alex william
0 siblings, 0 replies; 3+ messages in thread
From: Alex william @ 2015-08-10 10:34 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
Thanks for your reply.
Regards,
Alex
Le 8/10/15, 13:55, « Jan Engelhardt » <jengelh@inai.de> a écrit :
>On Friday 2015-07-31 07:24, Alex william wrote:
>
>>Hello,
>>
>>My objective is if ip A.A.A.A goes to B.B.B.B it is natted with IP
>>X.X.X.X
>>then if A.A.A.A re-establishes a session with B.B.B.B it is natted with
>>the same IP X.X.X.X. According to my reseach the module ipt_same does
>>that:
>
>Word on the street is that regular SNAT already does that, which is why
>SAME is gone.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-10 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-31 5:24 [IPTABLES] Module ipt_same Alex william
2015-08-10 9:55 ` Jan Engelhardt
2015-08-10 10:34 ` Alex william
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).