From: Roman S <rromas@mailru.com> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] iptables and nat Date: Fri Aug 24 11:04:39 2001 Message-ID: <200108240628.f7O6SVH66324@www1.mailru.com> (raw) Цитирую Yuri Ryazantsev <yuri@unix.ru>: > Пишу в /etc/sysconfig/iptables > > *nat > :PREROUTING ACCEPT [0:0] > :POSTROUTING ACCEPT [0:0] > :OUTPUT ACCEPT [0:0] > > -A PREROUTING -d 194.1.1.2 -j DNAT --to 192.168.64.100 > -A POSTROUTING -o eth1 -s 192.168.64.100 -j SNAT --to 194.1.1.2 > > После этого разрешаю в DNS 194.1.1.2 = www.xxxx.ru и получаю почти полный > восторг. Весь мир видит этот сервер по http://www.xxxx.ru/ КРОМЕ ЛОКАЛЬНОЙ > СЕТИ. > > Можно не обьяснять почему это происходит (это я понимаю). Меня интересует: > как оставив машину в этой локальной сети добится чтобы ее видели по > внешнему > адресу ВСЕ? А можно вопрос? Разве теперь брандмауэр понимает alias-ы адресов???? Раньше - не понимал.... Rgds! Roman Savelyev
next reply other threads:[~2001-08-24 11:04 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-24 11:04 Roman S [this message] 2001-08-24 13:50 ` Yuri Ryazantsev
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=200108240628.f7O6SVH66324@www1.mailru.com \ --to=rromas@mailru.com \ --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