[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Port-Forwarding



* Raffael Himmelreich <raffi@exception.at>:
> schau Dir mal `ipmasqadm portfw -help` an. Ich denke das wird Dir bei
> deinem Problem helfen, der Syntax ist auch nicht wirklich Kryptisch.

Also, flugs das Source-Packet geholt, auf Router compiöliert ... und
nichts. Die richtigen Module sind drin, es ist auch installiuert.
ipmasqadm nimmt auch die Befehle an, so zB:

# portfw -a -P tcp -L 192.168.11.1 3450 -R 192.168.11.2 ssh
# ipmasqadm portfw -l
prot localaddr            rediraddr               lport    rport  pcnt
TCP  192.168.11.1         Kampfkoloss              3450      ssh    10

Jetzt läuft ein 'ssh -p 3450 Homer' auf 192.168.11.2 sich einfach tot
:-(

# ipmasqadm portfw -f
# ipmasqadm portfw -a -P tcp -L 0.0.0.0 3450 -R 192.168.11.2 ssh
# ipmasqadm portfw -l
prot localaddr            rediraddr               lport    rport  pcnt
TCP  0.0.0.0              Kampfkoloss              3450      ssh    10

Und ssh spuckt ein 'cannot connect to remote host'. :-(

SEcki
-- 
The broad mass of a nation... will more easily fall victim to a big lie
than to a small one.
                -- Adolf Hitler, "Mein Kampf"


-- 
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: