From: Brent Clark <bclark@rocketseed.us>
To: black@arbbs.net
Cc: netfilter@lists.netfilter.org
Subject: Re: (No subject header)
Date: Tue, 30 Nov 2004 09:09:06 +0200 [thread overview]
Message-ID: <41AC1C92.4030700@rocketseed.us> (raw)
In-Reply-To: <41aba9f5.308.7f37.1299399369@arbbs.net>
John Black wrote:
>
> I'm trying to setup a connection to port 3389 on a windows
> 2003 server.
>
> my server 80.1.1.1
>
> public ip address for windows server110.20.30.15
>
> private ip address for windows server 192.168.0.15
>
>
> is this right:
> iptbles -t nat -A PREROUTING -d 80.1.1.1 -p tcp \
> --dport 3389 -j DNAT --to 110.20.30.15:2289
> iptbles -t nat -A PREROUTING -d 110.20.30.15 -p tcp\
> --dport 3389 -j DNAT --to 192.168.0.15:2289
Hi
This is my ruleset
Hope it helps
$IPT -t filter -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -t nat -A PREROUTING -i eth0 -p tcp -s 1.2.3.4 --dport 3389 -j DNAT
--to 192.168.111.124:3389
$IPT -t filter -A FORWARD -i eth0 -p tcp -s 1.2.3.4 --dport 3389 -d
192.168.111.124 -j ACCEPT
Kind Regards
Brent Clark
next prev parent reply other threads:[~2004-11-30 7:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-29 23:00 (No subject header) John Black
2004-11-30 7:09 ` Brent Clark [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-26 20:52 gina
2010-11-30 20:01 [PATCH 3/4] exec: unify compat_do_execve() code Oleg Nesterov
2010-12-01 17:37 ` (No subject header) Milton Miller
2010-12-01 17:37 ` Milton Miller
2010-12-01 18:27 ` Oleg Nesterov
2010-12-01 18:27 ` Oleg Nesterov
2010-11-09 7:27 Doubt about CRTSCTS preprocessor macro definition in termbits.h file Ramya Desai
2010-11-09 16:56 ` (No subject header) Milton Miller
2010-05-27 2:42 idle-test patches queued for upstream Len Brown
2010-05-27 2:42 ` [PATCH 1/8] cpuidle: fail to register if !CONFIG_CPU_IDLE Len Brown
2010-05-27 2:42 ` [PATCH 5/8] sched: clarify commment for TS_POLLING Len Brown
2010-05-27 5:25 ` (No subject header) Milton Miller
2010-05-27 5:25 ` Milton Miller
2010-05-27 5:47 ` Len Brown
2004-11-29 23:10 John Black
2004-07-30 3:33 Jason Opperisano
2004-07-30 4:00 ` John Black
2004-07-28 16:01 John Black
2004-07-28 21:52 ` Antony Stone
2004-07-30 3:09 ` John Black
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=41AC1C92.4030700@rocketseed.us \
--to=bclark@rocketseed.us \
--cc=black@arbbs.net \
--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.