Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: IPTABLES i ethernet [2]


  • Subject: lug-bg: IPTABLES i ethernet [2]
  • From: bugar@xxxxxxx (Atanas Mavrov)
  • Date: Sat, 22 Jun 2002 23:07:27 +0300



Toe blizko do uma che towa deto sym go napisal s hw adresite e typo ... 
zasahtoto loopback nqma takyw adres, a eth0 nqma da stane zashtoto trafika ne 
minawa prez neq /ili pone taka misq/. Tyi che towa e glupawo ama se setih 
malko kysno. Ostawa wyprosa dali shte stane taka:
iptables -A INPUT -s x.x.x.x -m mac --mac-source y.y.y.y.y.y -j DROP
............. i tyi wsichki koito shte polzwat net
iptables -A INPUT -j DROP
iptables -t nat -P POSTROUTING DROP
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

A kakwo trqbwada se sydyrva w /etc/ethers zashtoto takyw file nqmam :-)))
Blagodarq
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.