Archive for the 'Iptables' Category
Viewing 11-20 of 25 FAQ -- Block ip address of spammers with iptables under Linux :
Q. How do I block ip address of spammers with iptables based firewall under CentOS Linux 5?
A. You can simply block IP address of spammers by editing /etc/sysconfig/iptables file under:
a) CentOS Linux
b) Fedora Linux
c) RHEL 4.x/5.x etc
Open file /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append ip address of spammers as follows:
-A RH-Firewall-1-INPUT -s SPAMMER-IP -j DROP
-A RH-Firewall-1-INPUT -s SPAMMER-SUBNET-BLOCK [...] - Redhat / CentOS / Fedora Linux Open Port :
Q. I’ve Redhat Enterprise Linux 5 server with Iptabeles firewall enabled. By default it is only allowing port 22. How do I open port 80 / 143 / 110 on Linux? I’ve started all services but don’t know how to open port using iptables.
A. By default iptables firewall stores its configuration at /etc/sysconfig/iptables file. [...] - Linux Firewall: Display Status and Rules of Iptables Firewall :
Q. How do I display / list all rules in the selected chain? How do I find out which rules are active? What is blocked and opened with my firewall?
A. To List all rules in the selected chain use the -L option. If no chain is selected, all chains are listed. As [...] - Howto disable the iptables firewall in Linux :
Q. Quick question: I need to disable firewall in Linux for testing purpose. I’m using CentOS 4.4. How do I disable the firewall in Linux?
A. A Linux firewall is software based firewall that provides protection between your server (workstation) and damaging content on the Internet or network.
It will try to guard your computer [...] - CentOS / Redhat Linux Internet Connection Sharing :
Q. How do I configure CentOS / Redhat Linux computer to share my internet connection? How do I configure RHEL as a software router with two interfaces? How do I share my single connection with other PCs on LAN?
- Howto Secure portmap service using iptables and TCP Wrappers under Linux :
Q. How do I secure the portmap service? I am using Debian Linux.
A. According to wikipedia, “Portmap is server software running under Unix-like systems that converts RPC program numbers into DARPA protocol port numbers. Its design objective was to minimize the number of ports in use, but this never happened as it never had wide [...] - Linux passive ftp not working problem and solution :
Q. My passive ftp is not working, what can do to fix this problem?
A. Make sure firewall is not blocking your FTP session. If ports are open make sure IPtables is allowing passive ftp. To solve this problem add ip_conntrack_ftp module. Type the following command to load this module:
# modprobe ip_conntrack_ftp
Add this module [...] - Linux disable or remove the iptables firewall :
Q. How do I disable the iptables firewall in Fedora Core Linux?
A. Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.
If you are using RHEL (Redhat), Fedora core or Cent os just type following commands to disable the iptables firewall:
# service iptables save
# [...] - Linux Null route an attackers ip :
Q. How do I null route an attakers IP under Red Hat Enterprise Linux? I would like to block unwanted traffic from a particular source.
A. A null route is a network route that goes nowhere. When a network packet is received by Linux (or UNIX or any other network device) operating system, it needs to [...] - Linux configure Network Address Translation or NAT :
Q. How do I configure Linux as a router to perform Network Address Translation (NAT) using iptables? I am using Cent OS.
A. NAT, also known as network masquerading, native address translation or IP-masquerading involves re-writing the source and/or destination addresses of IP packets as they pass through a router or firewall. Most systems using NAT [...]
« Previous Page — Next Page »
Viewing 11-20 of 25 FAQ -


Recent Comments
Today ~ 1 Comment
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments