|
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
============================================================================
|
|
|