* Re: [Comm] real ip на внутреннюю машину @ 2005-06-21 10:02 ` Michael Isachenkov 2005-06-21 10:20 ` Mike Lykov 2005-06-21 10:04 ` Vladimir V Kamarzin 1 sibling, 1 reply; 6+ messages in thread From: Michael Isachenkov @ 2005-06-21 10:02 UTC (permalink / raw) To: community > > Коллеги, каким образом сабж осуществляется? SNAT/DNAT. :) -- Best regards, Michael Isachenkov now: Pink Floyd - Money ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] real ip на внутреннюю машину 2005-06-21 10:02 ` [Comm] real ip на внутреннюю машину Michael Isachenkov @ 2005-06-21 10:20 ` Mike Lykov 2005-06-21 10:31 ` Afanasov Dmitry 0 siblings, 1 reply; 6+ messages in thread From: Mike Lykov @ 2005-06-21 10:20 UTC (permalink / raw) To: community В сообщении от Вторник 21 Июнь 2005 15:02 Michael Isachenkov написал: > > Коллеги, каким образом сабж осуществляется? > SNAT/DNAT. :) нет, для темы все-таки именно DNAT %) -- Mike Lykov Samara, "Vesna" parfum company, System administrator ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] real ip на внутреннюю машину 2005-06-21 10:20 ` Mike Lykov @ 2005-06-21 10:31 ` Afanasov Dmitry 2005-06-21 12:01 ` PEGAS TOUR - DMITRIY 0 siblings, 1 reply; 6+ messages in thread From: Afanasov Dmitry @ 2005-06-21 10:31 UTC (permalink / raw) To: community Mike Lykov wrote: > В сообщении от Вторник 21 Июнь 2005 15:02 Michael Isachenkov написал: > >>>Коллеги, каким образом сабж осуществляется? >> >>SNAT/DNAT. :) > > > нет, для темы все-таки именно DNAT %) > не всегда, если машина, на которую натят находится в на том же интерфейсе, то придётся ещ и SNAT добавить :) -- С уважением, Афанасов Дмитрий ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] real ip на внутреннюю машину 2005-06-21 10:31 ` Afanasov Dmitry @ 2005-06-21 12:01 ` PEGAS TOUR - DMITRIY 2005-06-21 12:07 ` Afanasov Dmitry 0 siblings, 1 reply; 6+ messages in thread From: PEGAS TOUR - DMITRIY @ 2005-06-21 12:01 UTC (permalink / raw) To: community > >>>Коллеги, каким образом сабж осуществляется? > >> > >>SNAT/DNAT. :) > > > > > > нет, для темы все-таки именно DNAT %) > > > не всегда, если машина, на которую натят находится в на том же интерфейсе, то > придётся ещ и SNAT добавить :) Я про это и хотел написать, письмо улетело недописанное :-) А на шлюзе с внешней стороны добавить алиас прокидываемого ip? С уважением, Дмитрий Тютюнников Системный администратор ООО "Пегас-Тур" 454080, Челябинск, пр. Ленина, 64 тел. +7(351)247-92-85, +7(351)247-92-84, +7(351)266-60-31 E-mail: dima@pegastour.ru ICQ: 194-508-09 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] real ip на внутреннюю машину 2005-06-21 12:01 ` PEGAS TOUR - DMITRIY @ 2005-06-21 12:07 ` Afanasov Dmitry 0 siblings, 0 replies; 6+ messages in thread From: Afanasov Dmitry @ 2005-06-21 12:07 UTC (permalink / raw) To: community PEGAS TOUR - DMITRIY wrote: >>>>>Коллеги, каким образом сабж осуществляется? >>>>SNAT/DNAT. :) >>>нет, для темы все-таки именно DNAT %) >>не всегда, если машина, на которую натят находится в на том же интерфейсе, > то придётся ещ и SNAT добавить :) > > А на шлюзе с внешней стороны добавить алиас прокидываемого ip? > а смысл? не надо будет прописывать SNAT, если dst-ip находится на том же интефейсе что и src? а конфликта ip не будет? я точно знаю, что если dst-ip и src-ip находятся в одной физической сети (без маршрутизации), то SNAT просто обязателен. в таком случае на интефейс прописывание dst-ip не спасёт - в одной физической сети будет два одинаковых ip. хотя можно попробовать :) -- С уважением, Афанасов Дмитрий ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] real ip на внутреннюю машину 2005-06-21 10:02 ` [Comm] real ip на внутреннюю машину Michael Isachenkov @ 2005-06-21 10:04 ` Vladimir V Kamarzin 1 sibling, 0 replies; 6+ messages in thread From: Vladimir V Kamarzin @ 2005-06-21 10:04 UTC (permalink / raw) To: community >>>>> On 21 Jun 2005 at 15:50 PEGAS TOUR writes: PT> Коллеги, каким образом сабж осуществляется? [root@real-server]# iptables -t nat -A PREROUTING -d 205.254.211.17 -j DNAT --to-destination 192.168.100.17 [root@real-server]# iptables -t nat -A POSTROUTING -s 192.168.100.17 -j SNAT --to-source 205.254.211.17 http://linux-ip.net/html/nat-dnat.html P.S. С этим лучше в isp-list@ P.P.S. не пишите в html plz -- WBR, Vladimir V. Kamarzin. в последнее время я исходники пишу в vim. он конечно примитивнее, но зато как-то надежнее. [по сравнению с emacs] -- Andrew Dolgov in RU.LINUX.CHAINIK ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-06-21 12:07 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-06-21 10:02 ` [Comm] real ip на внутреннюю машину Michael Isachenkov 2005-06-21 10:20 ` Mike Lykov 2005-06-21 10:31 ` Afanasov Dmitry 2005-06-21 12:01 ` PEGAS TOUR - DMITRIY 2005-06-21 12:07 ` Afanasov Dmitry 2005-06-21 10:04 ` Vladimir V Kamarzin
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