HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: setting iptables
Operating System - Linux
1832979
Members
3009
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 08:34 PM
10-17-2003 08:34 PM
setting iptables
hello all members
hope u r fine
i want to configure my iptables to authenticate users by their MAC is that possible or is there any other way to authenticate users in LAN.
plz advice
hope u r fine
i want to configure my iptables to authenticate users by their MAC is that possible or is there any other way to authenticate users in LAN.
plz advice
1 GOD 1 LIFE
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 09:26 PM
10-17-2003 09:26 PM
Re: setting iptables
I am not to sure of what you need, so correct me if i am on the wrong track.
No not user you can identify the "node" from where a packet is from or going to by its mac address, this is very low in your network stack (4 level model), iptables deal with such a low level, so it knows about things like mac address(XX:XX:XX:XX:XX:XX),ip(XXX.XXX.XXX.XXX), it now about protocol like (tcp,udp..etc), but it does not know about thing at levels like user name.
If what you are after is how to construct an iptable rule to deal with a mac address then the following should do it.
iptables -A FORWARD -m mac --mac-source XX:XX:XX:XX:XX -j ACCEPT
iptables -A FORWARD -m mac --mac-source XX:XX:XY:XY:XY -j DROP
Let us know if this is what you need.
J-P
Smile I will feel the difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 10:03 PM
10-17-2003 10:03 PM
Re: setting iptables
hello
yes u r right,
& also plz guide how to allow or disallow known application & ports like allowing msn, yahoo,http & disallowing kazaa, imesh.
Thank u for understanding
yes u r right,
& also plz guide how to allow or disallow known application & ports like allowing msn, yahoo,http & disallowing kazaa, imesh.
Thank u for understanding
1 GOD 1 LIFE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 01:03 AM
10-18-2003 01:03 AM
Re: setting iptables
First, allow the MAC addresses the way Jean Pierre suggested.
Then, the best is to allow the ports corresponding to what you need, and dissallow the rest (including imesh and other kazaas).
Steven provided a good example in this thread :
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x67de68da2286d711abdc0090277a778c%2C00.html&admit=716493758+1066482174278+28353475
You may wish to try this one, adding at the begining the MAC addresses. You can also use the tips we gave you here :
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x9d4b8b82cc91d711abdc0090277a778c%2C00.html&admit=716493758+1066481908866+28353475
Ask us if you want some comment on the file.
hth
J
Then, the best is to allow the ports corresponding to what you need, and dissallow the rest (including imesh and other kazaas).
Steven provided a good example in this thread :
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x67de68da2286d711abdc0090277a778c%2C00.html&admit=716493758+1066482174278+28353475
You may wish to try this one, adding at the begining the MAC addresses. You can also use the tips we gave you here :
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x9d4b8b82cc91d711abdc0090277a778c%2C00.html&admit=716493758+1066481908866+28353475
Ask us if you want some comment on the file.
hth
J
You can lean only on what resists you...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP