From: SilverFox <SilverFox@rgantd.ru> To: <mandrake-russian@altlinux.ru> Subject: [mdk-re] маскарад не пашет на ядре 2.4 Date: Thu Dec 6 15:05:16 2001 Message-ID: <20011206150842.1160f0b0.SilverFox@rgantd.ru> (raw) Здравствуйте! С перходом на ядро 2.4.15 не могу заставить маскарад работать и выход в инет через ppp0 остальным компам обеспечить. Раньшше все пахало на ipchains и файлики /etc/rc.d/rc.firewall и /etc/rc.d/rc.firewall.inet_sharing это обеспечивали. Там вроде все и для iptables прописано, но не пашет. Строчки там в конце файла такие : /sbin/iptables -P FORWARD DROP /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE Соответственно результат вот какой: [root@sfox rc.d]# /sbin/iptables -L -v -n Chain INPUT (policy ACCEPT 1620 packets, 447K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy DROP 12 packets, 681 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 1636 packets, 445K bytes) pkts bytes target prot opt in out source destination Chain PREROUTING (policy ACCEPT 16 packets, 1265 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 49 packets, 5076 bytes) pkts bytes target prot opt in out source destination 8 489 MASQUERADE all -- * ppp0 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 57 packets, 5565 bytes) pkts bytes target prot opt in out source destination [root@sfox rc.d]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface rgantd.ru * 255.255.255.255 UH 0 0 0 ppp0 192.168.77.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default rgantd.ru 0.0.0.0 UG 0 0 0 ppp0 Поможите люди добрые !! Чтение NAT_HOTO пользы пока не принесло, хотя может со временем дойдет :0, а надо побыстрее ... :( -- Желаю успехов в Ваших праведных трудах Лисютин Анатолий Петрович (Silver Fox) mailto:SilverFox@rgantd.ru ICQ:6647501 РГАНТД - Российский государственный архив научно-технической документации http://rgantd.ru http://rusarchives.ru/federal/rgantd
next reply other threads:[~2001-12-06 15:05 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-06 15:05 SilverFox [this message] 2001-12-06 17:40 ` SilverFox 2001-12-07 15:18 ` SilverFox 2001-12-07 15:46 ` AVL 2001-12-07 16:05 ` SilverFox 2001-12-07 17:36 ` Re[2]: [mdk-re] ÍÁÓËÁÒÁÄ ÎÅ ÐÁÛÅÔ ÎÁ ÑÄÒÅ 2.4 Serge Skorokhodov 2001-12-07 18:01 ` Re[2]: [mdk-re] маскарад не пашет на ядре 2.4 SilverFox
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=20011206150842.1160f0b0.SilverFox@rgantd.ru \ --to=silverfox@rgantd.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