From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: Re[2]: [Comm] IPtables
Date: Thu, 27 Feb 2003 18:35:51 +1000
Message-ID: <20030227183551.5c41d454.dima@sakhalin.ru> (raw)
In-Reply-To: <197149302796.20030227091229@transbank.ru>
On Thu, 27 Feb 2003 09:12:29 +0300
Половников Денис <fox@transbank.ru> wrote:
> Здравствуйте, Alexey.
>
> Вы писали 26 февраля 2003 г., 15:46:38:
>
> AIF> On Wed, Feb 26, 2003 at 03:31:28PM +0300, Половников Денис wrote:
> >> -A PREROUTING -p udp -d 217.69.198.58 --dport 5122 -j DNAT
> >--to-destination 10.0.1.124
>
> >> Нефига неработает.
>
> AIF> Дурацкий вопрос -- -t nat есть?
> Вот кусок из конфига асли я ставлю впереди -t nat то тогда ip tables
> ругается что это неверный аргумент...
> *nat
> :PREROUTING ACCEPT [23:2866]
>
> :POSTROUTING ACCEPT [0:0]
>
> :OUTPUT ACCEPT [0:0]
>
> [0:0] -A POSTROUTING -s 10.0.0.0/8 -o eth0 -j MASQUERADE
>
> [0:0] -A POSTROUTING -s 217.69.198.0/255.255.255.224 -o eth0 -j
> MASQUERADE -A PREROUTING -p udp -d 217.69.198.58 --dport 5122 -j DNAT
> --to-destination 10.0.1.124 COMMIT
>
> # Completed on Fri Jun 15 14:40:51 2001
> #
А FORWARD-правила где? А роутинг на этой машине включен?
Покажи результат:
# cat cat /proc/sys/net/ipv4/ip_forward
# service iptables save
# cat /etc/sysconfig/iptables
--
WBR, Dmitry Lebkov
next prev parent reply other threads:[~2003-02-27 8:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-26 12:31 Половников Денис
2003-02-26 12:46 ` Alexey I. Froloff
2003-02-27 6:12 ` Re[2]: " Половников Денис
2003-02-27 6:55 ` Alexey I. Froloff
2003-02-27 8:10 ` Re[2]: " Половников Денис
2003-02-27 8:24 ` Maxim.Savrilov
2003-02-27 9:02 ` Vitaly Ostanin
2003-02-27 9:04 ` Dmitry Lebkov
2003-02-27 10:50 ` Re[2]: [Comm] [JT] IPtables Maxim.Savrilov
2003-02-27 8:35 ` Dmitry Lebkov [this message]
2003-02-27 9:36 ` Re[4]: [Comm] IPtables Половников Денис
2003-02-27 10:05 ` Dmitry Lebkov
2003-02-27 11:34 ` Re[6]: " Половников Денис
2003-02-27 12:17 ` Dmitry Lebkov
2003-02-28 6:17 ` Re[8]: " Половников Денис
2003-02-28 12:53 ` Dmitry Lebkov
2003-02-28 13:31 ` Владимир
2003-02-27 10:25 ` Alexey I. Froloff
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=20030227183551.5c41d454.dima@sakhalin.ru \
--to=dima@sakhalin.ru \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git