Linux / UNIX Tech Support Forum
This is a discussion on IPtables vs TCPWrappers within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi all, how to find if a service is blocked by IPtables or TCPWrappers? how to find which tool is ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
You can run iptables -n -L and verify open port or services.
Code:
iptables -n -L iptables -n -L | less iptables -n -L | grep '80' iptables -n -L | grep '202.54.1.2' For TCPwrappers take a look at /etc/hosts.allow and /etc/hosts.deny file.
__________________
Vivek Gite Linux Evangelist |
|
||||
|
I want this info if we are in network/internet to access that system..
In that case how we can find which tool(iptables/tcpwrappers) is used to block particular service?
__________________
Thanks, Surendra Kumar Anne Ubuntu: Simple, Stylish and Striking..! Linux: Fast, friendly, flexible and .... free! Support Open source. |
|
||||
|
Did you run command I gave you? Those are two methods that will tell if port or IP blocked using iptables or tcpwrappers.
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| grep , iptables , less command , tcp wrappers |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Iptables Help | santhosheph | CentOS / RHEL / Fedora | 0 | 06-09-2008 03:36 PM |
| Iptables | nixsen | CentOS / RHEL / Fedora | 2 | 11-29-2007 03:01 PM |
| iptables help | vitaminme | Networking, Firewalls and Security | 1 | 09-04-2007 02:42 AM |
| IPTABLES Help | asim.mcp | Linux software | 3 | 07-08-2006 02:53 AM |
| IPTABLES help | vasanth | Linux software | 1 | 03-09-2005 09:15 AM |