Hello,
Rule Example:
(Allowing mac 10-1F-74-1E-96-8B from loc tu tuxdc)
ACCEPT loc:~10-1F-74-1E-96-8B tuxdc all
Best Regards
--
Márcio Filipe Mendes Moreira <mfm@eurotux.com>
Administrador de Sistemas
Eurotux Informatica, SA | www.eurotux.com
Tel: (+351) 253680300 - Suporte: (+351) 253680301
Fax: (+351) 253680319
On Tuesday 19 March 2013 20:17:55 Bruno Costa wrote:> Hi all,
>
> I am trying to setup MAC Address restrictions using Shorewall. This is
> my cenario:
>
> # cat zones
> #ZONE TYPE OPTIONS IN OUT
> fw firewall
> net ipv4
> loc ipv4
> tuxdc ipv4
>
> In which:
>
> # cat interfaces
> #ZONE INTERFACE BROADCAST OPTIONS
> loc eth0 - routeback
> net eth1 - dhcp,routeback
> net eth3 - dhcp,routeback,optional
> net eth4 - dhcp,routeback,optional
> net eth5 - dhcp,routeback,optional
> tuxdc tuxdc - routeback,optional
>
> Problem: I am trying to restrict the access from "loc" to
"tuxdc" (which
> happens to be an OpenVPN interface) to a fixed list of MAC Addresses. Is
> it possible? We have tried to do that using a Nested zone, without luck.
>
> # /sbin/shorewall version
> 4.5.4.2
>
> Anyone has done a similar configuration?
>
> Thanks in advance.
>
> Regards,
> Bruno Costa
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar