From: Jury Levykin <altcomm@list.ru> To: community@altlinux.ru Subject: [Comm] Bridging firewall Date: Wed, 15 Sep 2004 13:33:36 +0400 Message-ID: <41480C70.2030203@list.ru> (raw) Создан bridging firewall на ALM 2.2 # uname -r 2.4.20-alt17-up по статье опубликрванной здесь: http://samag.ru/ru/articles/4-04/news_current.shtml?2003/11/20031106-50.html Патчи на ядро не накладывал т.к. не смог найти патч для моего ядра. Судя по тому что в мастере есть bridge-utils я предположил что ядро уже пропатчено для создания моста. Так это или нет? Создаю мост так: # brctl addbr bridge0 # brctl addif bridge0 eth0 # brctl addif bridge0 eth1 # ifconfig eth0 0.0.0.0 promisc # ifconfig eth1 0.0.0.0 promisc # brctl sethello bridge0 1 # brctl setmaxage bridge0 4 # brctl setfd bridge0 4 # ifconfig bridge0 xxx.xxx.xxx.xxx netmask 255.255.255.224 broadcast xxx.xxx.xxx.xxx up # route add default gw xxx.xxx.xxx.xxx # arp -f Мост работает. В одину карточку включен шлюз в другую наша сеть (с внешними IP). Все машины работают в интернете - проблем нет. Но кроме подключения нужно подсчитывать трафик. Меня смущает, что через цепочку FORWARD (iptables) не идет трафик. Я даже запретил прохождение через нее пакетов: iptables -P FORWARD DROP после этого доступ сети к интернету не ограничелся. В статье идет речь о подсете трафика проходящего именно через эту цепочку. Таким образом сказывается отсутствие патча или так и должно быть и нужно считать трафик в INPUT / OUTPUT ?
next reply other threads:[~2004-09-15 9:33 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-15 9:33 Jury Levykin [this message] 2004-09-15 9:36 ` Nizamov Shavkat 2004-09-15 17:11 ` Eugene Prokopiev 2004-09-16 8:12 ` Jury Levykin 2004-09-16 8:40 ` Nizamov Shavkat 2004-09-16 8:46 ` Nizamov Shavkat 2004-09-17 6:56 ` Dmytro O. Redchuk 2004-09-17 9:19 ` Michael Shigorin 2004-09-17 11:03 ` Dmytro O. Redchuk 2004-09-17 11:51 ` Michael Shigorin 2004-09-18 17:03 ` Денис Смирнов 2004-09-24 17:31 ` Michael Shigorin 2004-09-16 13:19 ` РЦОК-Ростов 2004-09-16 13:26 ` Nizamov Shavkat 2004-09-16 17:50 ` Eugene Prokopiev 2004-09-16 20:28 ` [Comm] " Денис Смирнов 2004-09-17 5:46 ` Guest007 2004-09-17 9:17 ` Denis Smirnov 2004-09-17 9:57 ` Guest007 2004-09-18 16:57 ` Denis Smirnov 2004-09-21 5:59 ` Guest007 2004-09-21 6:31 ` Guest007 2004-09-21 7:15 ` Guest007 2004-09-21 7:31 ` [Comm] ALT Linux 2.3 SOHO Server max
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=41480C70.2030203@list.ru \ --to=altcomm@list.ru \ --cc=community@altlinux.ru \ /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