I’m trying to allow my mobile device to connect from everywhere, Wi-Fi or not to an specific port of my Linux server which is running a webmin
service.
I’m using iptables
to set some rules to which IP addresses can connect to that port for example my house.
I don’t what any other device or IP to connect to my server's webmin
service so I drop every other connection with the iptables
. Also my house ipadress
changes every now and then and this is a problem since I have to update the rule as a result.
However I wish to connect through my phone with mobile data or Wi-Fi.
The MAC address isn't an option since the device will be changing internet connections and this is undetectable through browser.
So the questions is, is there a way to identify an specific device request to let it access or not to my server?
iptables
? I posted an answer showing howiptables
and be used to handle MAC address filtering. Pretty cool stuff.