As a new student of cyber security, I have started to see in real-time how an individual can actually scan and view the mac addresses on a public wifi connection.

How can I hide my mac address when using a public wifi connection? Please I mean aside from not using public wifi at all.

Also, I am very DIY, but I am still unclear how VPNs work. I have skim read about setting it up on one's own server, but not sure how that works in conjunction with using wifi, so any documentation would help. I still have a lot to learn about OpenVPN, SSH Tunnel, RaspianVPNs. I know of them, so just tossing these out as answers would not help. I guess I am looking for a how-to than just use this...okay, but how? Anyway, thanks in advance.


1 Answer 1


The answer is you can't hide your MAC address completely since it's essential in networking. As per wikipedia:

MAC addresses are used in the medium access control protocol sublayer of the data link layer.

What you can do though is to spoof your MAC address so you don't "expose" the manufacturer of your computer's network card which is going to help you avoid targeted attacks. Also as @multithr3at3d correctly pointed out, by spoofing you MAC address you also prevent your MAC address from being used to track you.

  • 1
    It's not really the manufacturer that you want to hide; you just want to prevent your MAC address from being used to track you. Commented Nov 9, 2019 at 2:48

Not the answer you're looking for? Browse other questions tagged .