From: "J. Zeidler" <jonatan_zeidler@gmx.de>
Cc: netfilter@vger.kernel.org
Subject: Re: Question about using SSH-tunnel / Frage zum Benutzen eines SSH-Tunnels
Date: Sat, 13 Aug 2011 00:13:10 +0200 [thread overview]
Message-ID: <4E45A576.7030301@gmx.de> (raw)
In-Reply-To: <1313145305.3060.11.camel@ns014530.dcyb.net>
> Read 'man iptables' again and search for REDIRECT. REDIRECT is a target,
> not a chain so the above rule is incorrect. Example:
>
> $ipt -t nat -A PREROUTING -p tcp -d<dest_ip> -j REDIRECT --to-ports
> <local_port>
if i do this, it does not work:
iptables -A PREROUTING -t nat -p tcp -d 65.18.193.12 --dport 15000 -j
REDIRECT --to 127.0.0.1:15000
answer:
iptables v1.4.10: REDIRECT: Bad value for "--to-ports" option:
"127.0.0.1:15000"
Try `iptables -h' or 'iptables --help' for more information.
how can i find out, if a programm uses tcp or udp protocoll for connection?
next prev parent reply other threads:[~2011-08-12 22:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 9:26 Question about using SSH-tunnel / Frage zum Benutzen eines SSH-Tunnels J. Zeidler
2011-08-12 9:47 ` Rob Sterenborg (lists)
2011-08-12 10:25 ` J. Zeidler
2011-08-12 10:35 ` Rob Sterenborg (lists)
2011-08-12 22:13 ` J. Zeidler [this message]
2011-08-13 1:57 ` /dev/rob0
2011-08-14 1:28 ` J. Zeidler
2011-08-12 10:00 ` Jan Engelhardt
2011-08-12 10:19 ` J. Zeidler
2011-08-12 11:12 ` Ed W
2011-08-12 12:35 ` Javier Almillategui
2011-08-12 22:40 ` J. Zeidler
2011-08-12 22:43 ` J. Zeidler
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=4E45A576.7030301@gmx.de \
--to=jonatan_zeidler@gmx.de \
--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