From: Alt-Linux <Linux@mrtrs.ru> To: Alt-Linux <community@lists.altlinux.org> Subject: [Comm] подскажите пожалуйста Date: Thu, 10 Nov 2005 15:02:59 +0300 Message-ID: <1915550922.20051110150259@mrtrs.ru> (raw) Здравствуйте! Есть линукс машина с адресом 192.168.0.111 , имеющая выход в интернет. Поднят pptpd: адрес сервера 192.168.200.1 , адреса клиентов 192.168.200.2-100 В iptables добавил: -A POSTROUTING -s 192.168.200.0/255.255.255.0 -o eth0 -j SNAT --to-source 192.168.0.111 Клиенты соединяются, получают адрес и имеют выход в инет; Для кэширования и учета http траффика поставил squid, порт по умолчанию 3128 в конфигурации добавил: acl our_networks src 192.168.200.0/24 http_access allow our_networks httpd_accel_host virtual httpd_accel_port 80 ... Добавил в iptables строчку: -A PREROUTING -s 192.168.200.0/255.255.255.0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 И вот тут возникла проблема, сквид дает access denied. Не подскажите, я что-то в iptables не то сделал или в настройках сквида? -- С уважением, Александр Купраш mailto:Linux@mrtrs.ru
next reply other threads:[~2005-11-10 12:02 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-11-10 12:02 Alt-Linux [this message] 2005-11-10 12:10 ` Шенцев Алексей Владимирович 2005-11-10 13:20 ` Mike Lykov 2005-11-10 18:36 ` Alexey Morsov 2005-11-11 7:07 ` [Comm] Проблемы настройки pptp, iptables и squid (было: подскажите пожалуйста) Купраш Александр 2005-11-11 9:29 ` Alexey Morsov 2005-11-11 9:58 ` Re[2]: " Купраш Александр 2005-11-11 10:16 ` Alexey Morsov 2005-11-11 10:38 ` Re[2]: " Купраш Александр 2005-11-11 14:48 ` Alexey Morsov
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=1915550922.20051110150259@mrtrs.ru \ --to=linux@mrtrs.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