From: lenya@chemsell.yaroslavl.ru
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Чертовщина с iptables :-(
Date: Fri Oct 12 22:29:01 2001
Message-ID: <20011012154803.A3052@alpha.home> (raw)
In-Reply-To: <20011011213551.A3257@israfel.mtu.ru>
On Thu, Oct 11, 2001 at 09:35:51PM +0400, S. Budnevitch wrote:
> Настраиваю ipaq и свой desktop, чтобы вылезти с помощью ipaq'а в
> интернет. Что делаю: поднимаю ppp между настольным компьютером и
> ipaq'ом, потом звоню, подключаюсь. Таблица маршрутизации на данный
> момент такая:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.3 * 255.255.255.255 UH 0 0 0 ppp1
> APAS10.mtu.ru * 255.255.255.255 UH 0 0 0 ppp0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default APAS10.mtu.ru 0.0.0.0 UG 0 0 0 ppp0
>
> 192.168.1.3 - это ipaq, 192.168.1.1 и 62.118.134.251 - настольный
> компьютер.
>
> Далее:
>
> iptables -F
> iptables -t nat -F
> iptables -t nat -A POSTROUTING -s 192.168.1.3 -j MASQUERADE
> echo 1 > /proc/sys/net/ipv4/ip_forward
> iptables -A FORWARD -s 192.168.1.3 -j ACCEPT
> iptables -A FORWARD -d 192.168.1.3 -j ACCEPT
>
> Проверяю, как работает. Со стороны ipaq'а видно 192.168.1.1 и
> 62.118.134.251, но ничего больше.
> Что еще интересно: реакции на iptables -L и iptables -t nat -L
> приходится ждать больше минуты.
>
> Раньше, кажется, с ядром 2.4.5 все работало нормально, правда тогда на
> ipaq'е был WinCE, но проблема, похоже не в нем. Сейчас kernel24-up-2.4.9-alt5.
> В чем проблема?
Так-так! Вы говорите про Compaq iPaq, который наладонник? У вас сейчас
Linux там стоит? Расскажите пожалуйста!
--
Leonid Khachaturov
mailto:lenya@linux.yaroslavl.ru
next prev parent reply other threads:[~2001-10-12 22:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-11 21:36 S. Budnevitch
2001-10-12 22:29 ` lenya [this message]
2001-10-14 2:17 ` [mdk-re] [JT] iPAQ Was: " S. Budnevitch
2001-10-14 0:13 ` [mdk-re] " S. Budnevitch
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=20011012154803.A3052@alpha.home \
--to=lenya@chemsell.yaroslavl.ru \
--cc=mandrake-russian@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