From: "Шенцев Алексей Владимирович" <ashen@nsrz.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] iptables_settings Date: Fri, 20 Oct 2006 17:14:56 +0400 Message-ID: <200610201714.57161.ashen@nsrz.ru> (raw) In-Reply-To: <op.thpycnae88vapp@glazunov.vrnoblgaz.local> В сообщении от Пятница 20 октября 2006 16:01 Глазунов Алексей Александрович написал(a): > Есть необходимость научить программу "Дипост" ходить в инет в обход proxy. > Функцию прокси, помимо прочих, выполняет ALTLinux Master 2.2. > На ALTLinux-сервере стоит 2 сетевые карты: > eth0 - смотрит в инет с IP 213.129.97.250 > eth1 - смотрит в локалку с IP 192.168.0.0/255.255.255.0 > Все ходят в инет только через squid. > > Дипост рапотает с портами 25 и 110 и никаких настроек под прокси не имеет. > Есть возможность другие порты указать. Решили, чтобы не сломать почту, что > нужно > на сервере с локального компа 192.168.0.205 принимать запросы на порты > 3025 и 3110 > и передавать их далее на 195.98.64.73 в порты 25 и 110. Ответы с > 195.98.64.73 > соответвенно требуется переадресовать на 192.168.0.205. > Сделал следующие настройки в iptables: <skip> > "Дипост" так и не заработал :-( > Как проверить правильно ли настроил iptables? Может еще чего-то нужно > подкрутить? 1) Смотреть tcpdump'ом что твориться на интерфейсах во время соеденения дипостом с интернетом. 2) А кто цепочки FORWARD будет организовывать то? 3) У вас не файерол, а одна сплошная дыра. Все ворота открыты настежь, ходи кто хочет, куда хочет .... 8) Посмотрите мой вчерашний ответ по теме "ALTLinux Sohoserver, nastroiki dlya bank-klienta", в котором я привёл пример скрипта настройки iptables. Думаю вам многое там будет полезно. Я не БОГ, я только учусь ... ;) -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru ICQ: 271053845
next prev parent reply other threads:[~2006-10-20 13:14 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-10-20 12:01 Глазунов Алексей Александрович 2006-10-20 12:08 ` Дмитрий Ананьев 2006-10-20 12:10 ` Дмитрий Ананьев 2006-10-20 12:21 ` Глазунов Алексей Александрович 2006-10-20 12:27 ` Дмитрий Ананьев 2006-10-20 12:29 ` Artur Yakupov 2006-10-20 12:31 ` Artur Yakupov 2006-10-20 12:41 ` Artur Yakupov 2006-10-20 13:18 ` Глазунов Алексей Александрович 2006-10-20 14:09 ` Artur Yakupov 2006-10-20 13:14 ` Шенцев Алексей Владимирович [this message] 2006-10-20 13:28 ` Глазунов Алексей Александрович 2006-10-20 13:36 ` Дмитрий Ананьев
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=200610201714.57161.ashen@nsrz.ru \ --to=ashen@nsrz.ru \ --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