ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Rinat Shigapov <srk@nevod.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Помогите организовать доступ к интернету (SQUID 3)
Date: Tue, 22 Dec 2009 20:21:07 +0500
Message-ID: <4B30E3E3.20003@nevod.ru> (raw)
In-Reply-To: <20091222144936.GB26261@osdn.org.ua>

On 22.12.2009 19:49, Michael Shigorin wrote:
> On Tue, Dec 22, 2009 at 02:51:22PM +0300, Владимир wrote:
>>> iptables -t nat -A PREROUTING -s 192.168.0.0/24 -p tcp -m
>>> multiport --dport 80,8080,и_т.д. -j REDIRECT --to-port 3128
>> а ничего, что 8080 под консоль управления занят?
>
> -d ! 192.168.0.1
>
Чтобы не привязываться к конкретному IP, можно выше поставить ACCEPT 
правило:
-m addrtype --dst-type LOCAL -j ACCEPT


-- 
С уважением,
         инженер-программист ООО "Невод"
         Ринат Шигапов
         Jabber ID: dxist эт ya.ru


      reply	other threads:[~2009-12-22 15:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 11:26 ` Dmitriy Kruglikov
2009-12-22 11:44 ` Anton Farygin
2009-12-22 11:51   ` Владимир
2009-12-22 12:01     ` Алексей Шенцев
2009-12-22 12:10       ` Dmitriy Kruglikov
2009-12-22 12:12         ` Anton Farygin
2009-12-22 12:18           ` Dmitriy Kruglikov
2009-12-22 12:36             ` Anton Farygin
2009-12-22 12:44               ` Dmitriy Kruglikov
2009-12-22 13:46                 ` Anton Farygin
2009-12-22 13:57                   ` Dmitriy Kruglikov
2009-12-22 16:00                     ` Anton Farygin
2009-12-22 16:08                       ` Dmitriy Kruglikov
2009-12-22 16:10                         ` Anton Farygin
2009-12-22 16:33                           ` Dmitriy Kruglikov
2009-12-28  6:07             ` Anton Kvashin
2009-12-29  8:16             ` Vladimir V. Kamarzin
2009-12-22 12:10       ` Владимир
2009-12-22 12:11     ` Anton Farygin
2009-12-22 14:49     ` Michael Shigorin
2009-12-22 15:21       ` Rinat Shigapov [this message]

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=4B30E3E3.20003@nevod.ru \
    --to=srk@nevod.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