From: andriy <l.andriy@gmail.com> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] NAT+squid Date: Thu, 23 Apr 2009 08:13:43 +0300 Message-ID: <49EFF907.1010808@gmail.com> (raw) Hi, community! Такой вопрос - на машине 2 сетевые карты(одна смотрит в локалку(eth0), другая в инет(eth1)), установлен squid с NCSA-аутентификацией - работал спокойно и нормально Понадобилось для системы БЕСТ-Звит, на одной из машин локальной сети, с помощью iptables (SNAT) разрешить прохождение 25-го (smtp) и 110-го (pop) портов, сделал iptables -t nat -A POSTROUTING -p all -o eth1 -j SNAT --to-source xxx.xxx.xxx.xxx:25 iptables -t nat -A POSTROUTING -p all -o eth1 -j SNAT --to-source xxx.xxx.xxx.xxx:110 ххх.ххх.ххх.ххх - статический "внешний" IP-адрес. "внешний" - потому что это большая локалка провайдера. У провайдера проблем нет. БЕСТ-Звит работает без проблем, но все что ходит через прокси (http) жутко тормозит и особенно один клиент-банк вообще работать не хочет. Если делаю на iptables -t nat -F все что ходило через прокси, в т.ч. и клиент-банк работает хорошо. Посоветуйте как решить такую проблему, где читать iptables-tutorial? Спасибо.
next reply other threads:[~2009-04-23 5:13 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-23 5:13 andriy [this message] 2009-04-23 14:26 ` Denis Nazarov 2009-04-23 17:11 ` Afanasov Dmitry 2009-04-23 18:20 ` andriy 2009-04-24 5:16 ` Afanasov Dmitry 2009-04-25 15:06 ` andriy 2009-04-25 15:09 ` Starodumoff Ilya 2009-04-25 16:12 ` Alexey I. Froloff 2009-04-25 16:15 ` Starodumoff Ilya 2009-04-26 17:33 ` Vyatcheslav Perevalov 2009-04-26 18:57 ` Afanasov Dmitry
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=49EFF907.1010808@gmail.com \ --to=l.andriy@gmail.com \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git