iptables mac address filtering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This may be a dumb question but is it possible to use an iptables rule for mac address filtering to allow vnc access  from a particular machine to one in the office when I'm traveling. That means I'll be using various kinds of internet access that I cannot know in advance (dhcp ip's, etc.)  I tried  using the client laptop's macaddress  like this:

I tried iptables -I INPUT 9 -m mac --mac-source macaddr -m state --state NEW  -p tcp --dport 5901:5906 -j ACCEPT

But it appears that the server is getting a mac address from my ISP rathere than the originating machine or even my dsl router. If I remove the mac match,  I connect just fine. And if I use a machine on the same network, I can use the rule above.

I've got FC4, with kernel 2.6.17-1.2142_FC4.

Tia

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux