Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: Bridge и iptable
Показать сообщение отдельно

Аватара для Dennis

Старожил


Сообщения: 323
Благодарности: 4

Профиль | Отправить PM | Цитировать


ip forwarding включен
мост:
brctl addbr br
brctl setbridgeprio br 0
brctl addif br eth0
brctl addif br eth2
ifconfig eth0 0.0.0.0
ifconfig eth2 0.0.0.0
ifconfig eth1 0.0.0.0
ifconfig eth3 0.0.0.0
ifconfig eth0 promisc
ifconfig eth2 promisc
brctl sethello br 1
brctl setmaxage br 4
brctl setfd br 4
brctl stp br off
ifconfig eth0 up
ifconfig eth2 up
ifconfig br 0.0.0.0 up
route add default br
route add default gw x.x.x.1

А в iptables, например, даю команды:
iptables -A FORWARD -j DROP
iptables -A INPUT -j DROP
- раньше в ipchais все блокировалось таким образом.
Почему не проходит в RH9 и в FC1?

-------
Dennis


Отправлено: 12:32, 19-03-2004 | #8

Название темы: Bridge и iptable