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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html