Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, pls support me about iptables with this topology: Net1----------------SW layer3---------------iptables FW ----------Net3 ...................... ..................Net2......................... this FW need to filter PC from net1 --> net3 with MAC address, but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    1

    pls support Filter MAC with iptables


    Hi all, pls support me about iptables with this topology:

    Net1----------------SW layer3---------------iptables FW ----------Net3
    ...................... ..................Net2.........................

    this FW need to filter PC from net1 --> net3 with MAC address, but iptablesFW only read MAC of SWLayer3.

    So what can I do to resolve: Filter MAC from Net1 when connect to Net3 ???

    Thanks for your support!
    t

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    The short answer is you cannot do this with IPTABLES as all packets crossing the switch will have the MAC of the the switch. What you would need to do is setup an ACL on the SWlayer3 for this.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •