From: Edward Hades <edward.hades@gmail.com>
To: gentoo-user-ru@lists.gentoo.org
Subject: [gentoo-user-ru] Re: [gentoo-user-ru] Перенаправление портов в телнете
Date: Thu, 9 Apr 2009 14:05:51 +0400 [thread overview]
Message-ID: <1237d2d70904090305v628bc6d4j93a852ea3d0e05cd@mail.gmail.com> (raw)
In-Reply-To: <17515030672.20090409135149@gmail.com>
Навскидку два решение: быстрое и правильное.
Быстрое: засунуть в inetd на 23 порт что-то типа nc -q 0 localhost 7300.
Правильное: перенаправлять порт с помощью iptables как-то так:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 --dst
62.109.9.76 -j REDIRECT --to-port 8080
(правильность команды не гарантирую)
--
Edward "Hades" Toroshchin,
Aides on irc.freenode.org
next prev parent reply other threads:[~2009-04-09 10:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 23:00 [gentoo-user-ru] тормоза Alex Efros
2009-04-08 4:10 ` Anton Kvashin
2009-04-08 4:42 ` Alex Efros
2009-04-08 6:31 ` [gentoo-user-ru] " Edward Hades
2009-04-09 9:51 ` [gentoo-user-ru] Перенаправление портов в телнете Ящик на гугле
2009-04-09 9:59 ` [gentoo-user-ru] " Илья Красильников
2009-04-09 10:09 ` [gentoo-user-ru] " Игорь
2009-04-09 10:17 ` [gentoo-user-ru] " Илья Красильников
2009-04-09 10:05 ` Edward Hades [this message]
2009-04-09 10:06 ` Edward Hades
2009-04-11 15:40 ` [gentoo-user-ru] " Sergej Beresteckij
2009-04-11 16:34 ` [gentoo-user-ru] " Edward Hades
2009-04-12 11:36 ` [gentoo-user-ru] " Ящик на гугле
2009-04-09 10:08 ` Konstantin Astafjev
2009-04-08 4:16 ` [gentoo-user-ru] тормоза Alex Efros
2009-04-08 4:40 ` Alex Efros
2009-04-08 19:31 ` Alex Efros
2009-04-11 20:30 ` [gentoo-user-ru] " Михаил Молчанов
2009-04-08 6:29 ` spirit
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=1237d2d70904090305v628bc6d4j93a852ea3d0e05cd@mail.gmail.com \
--to=edward.hades@gmail.com \
--cc=gentoo-user-ru@lists.gentoo.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