Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I have a gateway and would like to allow only a few systems identified through MAC for a subnet. I have tried but failed with iptables and the error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    1

    iptables: MAC binding for subnet


    Hello,
    I have a gateway and would like to allow only a few systems identified through MAC for a subnet. I have tried but failed with iptables and the error message is non-informative. It appears to me that I need to use PREROUTING but unable to actually use it as iptables is not accepting. Can anyone share the method please?
    TIA,
    -Dviip

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    Use THIS as a guide. You will have to substitute INPUT for what every you are trying to do.

    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
  •