Results 1 to 3 of 3
hello;
i need to make a rule on iptable that accept all traffics on port 80 on eth0 from 192.168.0.0/24 and 192.168.1.0/24 and 192.168.2.0/24
for other ip drop the packets.
...
- 08-31-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 1
iptables rules
hello;
i need to make a rule on iptable that accept all traffics on port 80 on eth0 from 192.168.0.0/24 and 192.168.1.0/24 and 192.168.2.0/24
for other ip drop the packets.
could you someone how can i do that by iptable?
thank you
- 08-31-2011 #2Just Joined!
- Join Date
- Aug 2011
- Location
- London, UK
- Posts
- 19
How far have you got with this? Which docs have you read?
- 09-01-2011 #3
Sounds like a homework question so I will just point you to this TUTORIAL
To answer your question, YES, it can be done with iptables.


Reply With Quote