Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Wennie V. Lagmay" <wlagmay@yanbulink.net>
To: netfilter <netfilter@vger.kernel.org>
Cc: wlagmay <wlagmay@yanbulink.net>
Subject: Problem after  SAME tagret became obsoletes
Date: Mon, 15 Sep 2008 14:26:28 +0300 (AST)	[thread overview]
Message-ID: <32630945.3051221477988035.JavaMail.root@mail.yanbulink.net> (raw)


Dear All,

I am aware that SAME is obsoletes on higher linux 2.6, and I am inform to use only masquerade or SNAT. 
Since I am using a multiple source and a multiple destination IP address, my configuration with SAME goest like this:

iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -j SAME --to 10.0.0.1-10.0.0.100 --nodst
with the above rule it "gives the client the same source/destination-address for connection" which solves my problem on voice chat, yahoo, msn and other voice messenger.

I am trying hard to find out how am I going to implement the same rule using SNAT but I cannot find any link. Can you please help me on this. If possible give me the step by step procedure on how to solve my problem.

Please Cc: me in every response  

Thank you very much,

Wennie
 

                 reply	other threads:[~2008-09-15 11:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=32630945.3051221477988035.JavaMail.root@mail.yanbulink.net \
    --to=wlagmay@yanbulink.net \
    --cc=netfilter@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