|
Re: lug-bg: IPTABLES i ethernet [2]
- Subject: Re: lug-bg: IPTABLES i ethernet [2]
- From: sup3r@xxxxxxx (Atanas Vlasakiev)
- Date: Sat, 22 Jun 2002 23:37:54 +0300 (EEST)
root@router:~# less /etc/ethers
192.168.1.1 00:50:BF:42:78:73
192.168.1.2 00:C0:DF:EB:1E:EB
192.168.1.3 00:C0:26:A1:A4:AA
192.168.1.4 00:C0:DF:EB:20:5D
192.168.1.5 00:C0:26:74:1B:F9
tova e ip tab mac
-=Atanas Vlasakiev=-
öèòèðàì Atanas Mavrov <bugar@xxxxxxx>:
> 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
>
==========================================================================
==
>
__________________________________
12MB-POP3-WAP-SMS---TOBA-E-mail.bG
----------------------------------
" Ako uckame u Bue agpec B mail.bg
ugeme myk: http://www.mail.bg/new/ "
============================================================================
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
============================================================================
|
|
|