[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 682
  • Last Modified:

MAC Address

Hello,
I want to get SSH login Users MAC address , But please note the server not on LAN network it's WAN and I want to block MAC address Via Iptables Can any one help me to do That
0
powervds
Asked:
powervds
  • 2
1 Solution
 
fosiul01Commented:
what about this

iptables -A INPUT -p tcp -m mac --mac-source 00:0BB:45:56:42 -j DROP


ref :http://www.linuxquestions.org/questions/linux-networking-3/by-using-iptables-block-mac-address-to-restric-user-to-access-internet-489144/
0
 
Faruk Onder YerliCommented:
Mac address is just  working on LAN. You never use MAC address filter trough Layer 3 network after first hop.
0
 
Maciej SsysadminCommented:
If you are not on the same network (same LAN), then answer is: you can't.
0
 
Maciej SsysadminCommented:
Sorry equalizer, I didn't see your answer before posting.
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as the high-speed power of the cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now