From: Mohammad Shakir <shakirgil@yahoo.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Connecting Two Network
Date: Tue, 22 Apr 2003 12:38:26 +0000 [thread overview]
Message-ID: <marc-lartc-105103125710264@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
Dear Experts,
I have two networks running Red Hat Linux 7.3 on both
sites server, now I want to connect each other.
When I send any request from pc-2 to Server2 on port
2000 like this http://202.192.182.2:2000 then server2
forward this request to its internal network pc-3
which is running windows2000 with IIS.
and same on other hand, when pc4 send any request to
Server1 on port 2000 like this
http://202.192.182.1:2000 then server1 forward this
request to its internal network pc-1 which is running
windows2000 with IIS.
the purpose of this task is, to access internal
website which is running on win2k server from
internet.
Is it possible or not ? if not then any other
suggestion.
I am sending herewith my network Image also.
On both linux server I am running this iptables script
to access internet.
iptables --table nat --append POSTROUTING
--out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j
ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
please guide me if it is possible then what should I
change in my script.
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
[-- Attachment #2: mynetwork.GIF --]
[-- Type: image/gif, Size: 2750 bytes --]
next reply other threads:[~2003-04-22 12:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 12:38 Mohammad Shakir [this message]
2003-04-22 13:46 ` [LARTC] Connecting Two Network Martin A. Brown
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-105103125710264@msgid-missing \
--to=shakirgil@yahoo.com \
--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 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.