From: Slava Dubrovskiy <slava@tangramltd.com> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Создание шлюза Date: Fri, 01 Feb 2008 21:58:31 +0200 Message-ID: <47A379E7.4000401@tangramltd.com> (raw) In-Reply-To: <e9913ae20802011144l239fbea4p1f117d91167309d4@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1175 bytes --] Mikhail Kuligin пишет: > ой не бийте мене хлопци, я городський, но nat так и не могу осилить > вот выдрал из из этого архива:http://fly.osdn.org.ua/~drool/nat_squid.tar.bz2 > (спасибо доброму человеку) файл nat (исправленный автором), поскольку > мне сквид не нужен, убрал проброс и вот, что получилось > ==skip== > откуда он выдирает функцию iptables-restore? > вобщем, запутался в трех соснах:( > о боже. Выбросьте все что до этого делали. Сделайте от имени root: # service iptables stop # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE # service iptables save # service iptables start И будет вам NAT (вместо eth0 подставьте имя своего интерфейса через который у вас инет идет). Затем идете и внимательно читаете http://www.opennet.ru/docs/RUS/iptables/ -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]
next prev parent reply other threads:[~2008-02-01 19:58 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-01-26 15:51 Alexandr Petukhov 2008-01-28 3:43 ` Мерзляков Евгений Анатольевич 2008-01-29 8:22 ` Sergey 2008-01-31 8:47 ` Mikhail Kuligin 2008-01-31 9:03 ` Владимир Гусев 2008-01-31 9:10 ` Владимир Гусев 2008-01-31 9:14 ` Владимир Гусев 2008-01-31 9:25 ` Алексей Шенцев 2008-01-31 10:47 ` Мерзляков Евгений Анатольевич 2008-01-31 10:52 ` Мерзляков Евгений Анатольевич 2008-01-31 10:58 ` Motsyo Gennadi aka Drool 2008-01-31 12:06 ` Владимир Гусев 2008-02-01 19:44 ` Mikhail Kuligin 2008-02-01 19:58 ` Slava Dubrovskiy [this message] 2008-02-01 20:34 ` Motsyo Gennadi aka Drool 2008-01-31 15:10 ` Vladimir V. Kamarzin
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=47A379E7.4000401@tangramltd.com \ --to=slava@tangramltd.com \ --cc=community@lists.altlinux.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
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