From: "Мерзляков Евгений Анатольевич" <hj@acoustics.ru> To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org> Subject: [Sysadmins] редирект веб клиетнов на прокси сервер провайдера Date: Thu, 26 Jan 2006 14:09:47 +0500 Message-ID: <20060126140947.3327ae72@hj.acoustics.ru> (raw) возникла необходимость сделать прозрачный редирект клиентов локалки на прокси сервер провайдера. схема такая: | +----------+ +------------+ +----------+ LAN |--| мой шлюз |--| шлюз прова |--+---| интернет | | +----------+ +------------+ | +----------+ | | +------+-------+ | | прокси прова |--+ +--------------+ хочется, чтобы клиент из локальной сети ходил в интернет через прокси провайдера не подозревая об этом (прозрачный прокси). прокси сервер провайдера поддерживает режим прозрачного проксирования. пробовал сделать так: LAN - внутренняя сеть (192.168.0.0/24) PPROXY - ip адрес прокси сервера провайдера iptables -t nat -A PREROUTING -s $LAN -p tcp --dport 80 -j DNAT --to-destination $PPROXY iptables -t nat -A PREROUTING -s $LAN -p tcp --dport 80 -j REDIRECT --to-ports 3128 данный вариант не сработал может есть у кого-нить идея как это сделать? -- ПКБ Акустика Мерзляков Е.А. icq #115657846
next reply other threads:[~2006-01-26 9:09 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-26 9:09 Мерзляков Евгений Анатольевич [this message] 2006-01-26 9:23 ` hozzzar
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=20060126140947.3327ae72@hj.acoustics.ru \ --to=hj@acoustics.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