From: Vitalik Salomatin <chelroot74@mail.ru> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] Не могу развернуть SQUID ? Date: Fri, 10 Oct 2008 00:07:28 -0000 Message-ID: <E1Ko5XO-000BI5-00.chelroot74-mail-ru@f190.mail.ru> (raw) При обращении на мой Web сервер по http я командой iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 весь трафик, приходящий на порт 80 перенаправляю на порт 3128 Помечаю пакеты iptables -A PREROUTING -i eth0 -t mangle -p tcp --dport 80 -j MARK --set-mark 2 Как повернуть их на мой squid? чтобы закачивали только через прокси. в конфигурации squida ставлю # #Default: # http_port 3128 # # Squid normally listens to port 3128 http_port 3128 transparent модуль redirect подгружен
reply other threads:[~2008-10-10 0:07 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1Ko5XO-000BI5-00.chelroot74-mail-ru@f190.mail.ru \ --to=chelroot74@mail.ru \ --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