From: Igor Shevchenko <ishevchenko@emdev.ru> To: community@altlinux.ru Subject: Re[2]: [Comm] squid transparenr proxy Date: Mon, 28 Mar 2005 19:33:13 +0400 Message-ID: <803812660.20050328193313@emdev.ru> (raw) In-Reply-To: <4247BE57.5090804@rambler.ru> Hello Olvin, Monday, March 28, 2005, 12:20:39 PM, you wrote: > Igor Shevchenko wrote: >> Запарился уже смертельно. bog.pp.ru и подобные не помогают. >> Хочется transparent proxy на squid и iptables. Читал доки, сделал >> так(На выходе из локалки ,на роутере на АЛМ 2.4): >> в squid.conf: >> http_port 3128 >> httpd_accel_host virtual >> httpd_accel_port 80 >> httpd_accel_with_proxy on >> httpd_accel_uses_host_header on >> >> в iptables добавил: >> iptables -t nat -A PREROUTING -i eth1 -d ! 192.168.3.0/24 -p tcp >> --destination-port 80 -j REDIRECT --to-ports 3128 >> >> И не работает. Что можно попробовать? > iptables -t nat -A PREROUTING -s 10.1.0.0/16 -i eth1 -p tcp -m tcp > --dport 80 -j REDIRECT --to-ports 3128 Ни фига не помогает:( Может дело в том, что squid на роутере с маскарадингом? -- Best regards, Igor mailto:ishevchenko@emdev.ru
next prev parent reply other threads:[~2005-03-28 15:33 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-26 18:02 Igor Shevchenko 2005-03-28 8:20 ` Olvin 2005-03-28 15:33 ` Igor Shevchenko [this message] 2005-03-28 18:10 ` Мар'ян Петришин 2005-04-05 15:21 ` [Comm] squid transparenr proxy - more info Igor Shevchenko
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=803812660.20050328193313@emdev.ru \ --to=ishevchenko@emdev.ru \ --cc=community@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