From: "tobin park" <shinywind@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: IP Masquerade
Date: Fri, 31 Aug 2001 01:34:05 +0000 [thread overview]
Message-ID: <F22t6MWrnSxeFI8IioC000041e1@hotmail.com> (raw)
Hello,
I want to insert the masquerade source in ip modules for studying network.
Let me know the simplest procedure(having no user interface)for masquerading
the ip address into the outer interface(nic). (192.168.1.0/24
->211.210.66.15/32)
---------------------------------------------------------------------------------
My procedure is
1. Hooked the ip_out procedure inserted my #ifdef sentence.
2. changed the socket buffer source address into the routing table source
address.
3. updated the ip header checksum
4.. echo "1">/proc/sys/net/ipv4/ip_forward
----------------------------------------------------------------------------------
Let me know the correct procedure for masquerading.(Not depends on the
existed mas
querading source)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
reply other threads:[~2001-08-31 1:34 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=F22t6MWrnSxeFI8IioC000041e1@hotmail.com \
--to=shinywind@hotmail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®