From: nitin mandolkar <nitinmandolkar@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Port Forwarding Need help
Date: Thu, 16 Dec 2004 21:26:19 +0530 [thread overview]
Message-ID: <1282c4c804121607563fa643e1@mail.gmail.com> (raw)
Need Help in port forwaeding.
This is my set up.
DSL ROUTER (WAN IP : x.x.x.x | LAN IP 192.168.5.1)
|
|
|
Linux Machine (eth0: 192.168.0.2 eth1: 192.168.5.12)
|
|
|
Windows machine(eth1: 192.168.5.4)(IIS is running on
this machine on port 80)
From router i am forwarding the request to linux
machine to port 80.
any one from out site they are able to see a test
pages on linux
machine.
i want to forward any request coming on port 80 on linux
machine to
windows machine on port 80.
/sbin/iptables -A PREROUTING -t nat -p tcp -s 192.168.5.1 -d
192.168.5.12 --dport 80 -j DNAT --to-destination 192.168.5.4:80
I Use above iptables entry but it is not working.
Nitin mandolkar.
next reply other threads:[~2004-12-16 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-16 15:56 nitin mandolkar [this message]
2004-12-16 17:05 ` Port Forwarding Need help Samuel Jean
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=1282c4c804121607563fa643e1@mail.gmail.com \
--to=nitinmandolkar@gmail.com \
--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.