From: "Денис Ягофаров" <denyago@rambler.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Правила на iptables для заворачивания http-трафика на прокси
Date: Tue, 06 May 2008 11:55:13 +0300
Message-ID: <48201CF1.60003@rambler.ru> (raw)
In-Reply-To: <48201ACA.3060007@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
Motsyo Gennadi aka Drool пишет:
> Денис Ягофаров пишет:
>> Motsyo Gennadi aka Drool пишет:
>>> Я себе для такого соорудил инит-скрипт. Прилагаю для рассмотрения.
>>> ... iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -o eth0 -j
>>> MASQUERADE ...
>> # iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o eth0 -j MASQUERADE
>> iptables: No chain/target/match by that name
>
> А у Вас в контейнере eth0 ?
да. проброшен:
NETDEV="eth1 eth0"
[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 267 bytes --]
begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski sqr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
x-mozilla-html:FALSE
version:2.1
end:vcard
next prev parent reply other threads:[~2008-05-06 8:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 7:38 Денис Ягофаров
2008-05-06 8:01 ` Денис Ягофаров
2008-05-06 8:07 ` Владимир
2008-05-06 8:33 ` Денис Ягофаров
2008-05-06 8:27 ` Motsyo Gennadi aka Drool
2008-05-06 8:43 ` Денис Ягофаров
2008-05-06 8:46 ` Motsyo Gennadi aka Drool
2008-05-06 8:55 ` Денис Ягофаров [this message]
2008-05-06 9:36 ` Timur Batyrshin
2008-05-06 9:50 ` Денис Ягофаров
2008-05-06 10:07 ` Timur Batyrshin
2008-05-06 10:42 ` Денис Ягофаров
2008-05-06 11:20 ` Timur Batyrshin
2008-05-06 16:51 ` Vyatcheslav Perevalov
2008-05-07 7:43 ` Timur Batyrshin
2008-05-07 8:19 ` Денис Ягофаров
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=48201CF1.60003@rambler.ru \
--to=denyago@rambler.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