Firewall in Centos 6.5
-
Whether the above IP table is correct to acces the Centos machine from other machine in Putty.
-
I cannot access the Centos system from Windows XP with the above IP table.Why?
-
@Lakshmana said:
Whether the above IP table is correct to acces the Centos machine from other machine in Putty.
I may be wrong on this, but you have ICMP blocked. That's what will allow ping. Also, be as verbose as possible. What do you mean you can't access from an XP machine? You can't ping? SSH? What?
-
How do you have your VM Guest Nic setup? By default most are using NAT. NAT will not work for this.
-
@thecreativeone91 I added NIC card from the VM settings and added new device as Network Adapter
-
@thecreativeone91 said:
How do you have your VM Guest Nic setup? By default most are using NAT. NAT will not work for this.
Agreed.
-
@Lakshmana said:
@thecreativeone91 I added NIC card from the VM settings and added new device as Network Adapter
Right but how is the network connection setup? You're using VMware Workstation, so is it NATing through the computer or does the virutal NIC have it's own IP address?
-
@Lakshmana said:
I need to know how to write iptable in Centos 6.5 and to open only ssh port and ping port to take the system only in putty to check the status
Nothing needed. Just install and this is how it works. CentOS sets this all up for you.
-
@Lakshmana said:
Whether the above IP table is correct to acces the Centos machine from other machine in Putty.
It's been modified, why?
That line with port 22 on it has additional restrictions to limit the source client to the IP subnet listed. Remove the "-s 192.168.50.1/255.255.255.0" to open SSH everywhere.
-
@Lakshmana said:
I cannot access the Centos system from Windows XP with the above IP table.Why?
Why don't you use the IP tables example that I provided for you on the other thread. It is exactly what you need to have here.
-
@thanksajdotcom said:
I may be wrong on this, but you have ICMP blocked. That's what will allow ping. Also, be as verbose as possible. What do you mean you can't access from an XP machine? You can't ping? SSH? What?
ICMP is not blocked, but it is not allowed. It has to be allowed. Someone has removed the allow line that is there when you install the system. My example on the other thread for him includes it.
-
OK I will try that at my office on monday.
-
Where did you get this image? Is it a modified one or something?
-
@thecreativeone91 said:
Where did you get this image? Is it a modified one or something?
I think it's his...
-
@thanksajdotcom said:
@thecreativeone91 said:
Where did you get this image? Is it a modified one or something?
I think it's his...
I mean the CentOS image.
-
@thecreativeone91 said:
@thanksajdotcom said:
@thecreativeone91 said:
Where did you get this image? Is it a modified one or something?
I think it's his...
I mean the CentOS image.
Ah ok. Yeah, I'm wondering who was already screwing with it....