Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "J. Zeidler" <jonatan_zeidler@gmx.de>
To: netfilter@vger.kernel.org
Subject: Question about using SSH-tunnel / Frage zum Benutzen eines SSH-Tunnels
Date: Fri, 12 Aug 2011 11:26:52 +0200	[thread overview]
Message-ID: <4E44F1DC.3090605@gmx.de> (raw)

English:

Hello,

I use a SSH-tunnel with Putty on Ubuntu 11.04. I want to achieve, that 
the network traffic over a specific port is redirected over the tunnel. 
I need this because of a strict firewall, which i can not configure. the 
tunnel runs on localhost:9999. i can use this as proxy with firefox, so 
the tunnel works. i tried this without success:

iptables -A OUTPUT -t nat -p udp -d 65.18.193.12 -j DNAT --to 127.0.0.1:9999

Can anybody help?

Thanks,
Jonius


German/Deutsch:

Ich nutze einen SSH-Tunnel mithilfe von Putty auf Ubuntu 11.04. Ich 
möchte mit iptables erreichen, dass der ausgehende Netzwerkverkehr auf 
bestimmten Ports über diesen Tunnel umgeleitet wird, um eine strenge 
Firewall zu umgehen, die ich nicht konfigurieren darf. Der Tunnel läuft 
auf localhost:9999. Mit Firefox kann ich diesen als Proxy nutzen, er 
funktioniert also. Ich habe es beispielsweise damit erfolglos versucht:

iptables -A OUTPUT -t nat -p udp -d 65.18.193.12 -j DNAT --to 127.0.0.1:9999

Kann mir jemand dabei helfen?

Danke im Voraus,
Jonius

             reply	other threads:[~2011-08-12  9:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12  9:26 J. Zeidler [this message]
2011-08-12  9:47 ` Question about using SSH-tunnel / Frage zum Benutzen eines SSH-Tunnels 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
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=4E44F1DC.3090605@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