Results 1 to 2 of 2
Hi
I have to install the last version of Iptables on my pc.I use Fedora core 8.
Could you please guide me the SPECIFICATIONs of that rpm?...
- 02-25-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
iptable
Hi
I have to install the last version of Iptables on my pc.I use Fedora core 8.
Could you please guide me the SPECIFICATIONs of that rpm?
- 04-23-2009 #2Just Joined!
- Join Date
- Apr 2009
- Posts
- 4
urgent help needed
hello,
i am currently working for a company and a task has been assigned to me to create a monitoring server on a linux machine (Centos 5.2) using splunkd, now i have created the monitoring server and its working fine,the issue is that i just want my server to be accessed only through my 3 IP-Addresses at port 8000, for this i am using iptables but unable to figure out how i will do this, can anybody help me, the current config of my iptables file is
------------------------------------------------
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8000 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 514 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 514 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
------------------------------------------------------------------------------------------
accessing server address is 172.16.100.187:8000, and the ip-adresses which i want to allow are 10.10.1.21, 10.10.1.22, 10.10.1.23 (only these 3 addresses can only access the server at http port 8000)...........the rest all the traffic should be blocked ......can anybody tell me exact configuration of iptables for this scenario.
Regards,
Tauseef Khan


Reply With Quote