Link to home
Start Free TrialLog in
Avatar of jaisonshereen
jaisonshereen

asked on

How to check the below rules applied in my firewall?

-A INPUT -i eth1 -p tcp --destination-port 25 -j REJECT
-A INPUT -i eth1 -p tcp --destination-port 5432 -j REJECT
-A INPUT -i eth1 -p tcp --destination-port 22 -j ACCEPT
-A INPUT -i eth1 -p tcp --destination-port 80 -j ACCEPT
-A INPUT -i eth1 -p tcp --destination-port 443 -j ACCEPT
-A OUTPUT -i eth1 -p tcp --destination-port 25 -j ACCEPT

It shouldn't let to expose 25 and 5432 through the firewall.
 unblock ports 22 for ssh, 80 for http and 443 for https.
25 should be kept open for outgoing traffic only
ASKER CERTIFIED SOLUTION
Avatar of MicheleMarcon
MicheleMarcon
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaisonshereen
jaisonshereen

ASKER

I am getting this output:      


    * It appears that your IP address, 203.145.173.2, is listed in the Spamhaus Exploits Block List which is a list of IP addresses of hijacked PC's infected by illegal 3rd party exploits, open proxies (HTTP, socks, AnalogX, wingate, etc), worms/viruses with built-in spam engines, and other types of trojan-horse exploits.
    * Until your IP address has been removed your IP address will not be able to use this service.
    * Please please be sure to get your IP address removed from the Spamhaus Exploits Block List before using this service again.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
IP Address Lookup

            74.XX.XX.71+ is not a valid IP address.



If the IP you are checking is not in our database, but you are receiving bounce messages saying it is, then it is probable the IP has been removed from our database but DNS servers around the internet have not yet updated. In this case, wait 1-2 hours and the blocking should clear by itself.

This lookup tool is for manual (non-automated) lookups only. Any perceived use of automated tools to access this system will result in firewalling or other countermeasures.
203.145.173.2 is your IP address.
no
Anyway 74.XX.XX.71 is not an IP Addess.

There should be some numbers instead of XX
i cannot provide it ..because its confidential
You don't need to tell it to me, you need to insert it on the spamhaus website.

If you do this way your IP will be removed from the block list and finally you will be able to use the port scanner on the first post.
that result i shown u above!
and i donno y it is showing like this ....203.145.173.2
actully i put the original ip and its showing some different ip as above
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial