14 articles tagged "iptables command"
- Install Squid Proxy Server on CentOS / Redhat enterprise Linux 5
I’ve already wrote about setting up a Linux transparent squid proxy system. However I’m getting lots of questions about Squid basic installation and configuration:
How do I install Squid Proxy server on CentOS 5 Liinux server?
Sure Squid server is a popular open source GPLd proxy and web cache. It has a variety of uses, from [...] - Linux Iptables: How to specify a range of IP addresses or ports
Someone recently asked me a question:
How can I save time and script size by specifying a range of IP addresses or ports using iptables?
In old version of iptables IP address ranges are only valid in the nat table (see below for example). However newer version does support option that allows you to specify a range [...] - Linux Iptables block remote X Window server connection
It is true that connections to remote X Window servers should be always made over SSH. SSH supports X windows connections. So my task was allow X over ssh but block unprivileged X windows mangers TCP ports.
The first running server (or display) use TCP port 6000. Next server will use 6001 and so on upto [...] - Connecting Linux or UNIX system to Network attached storage device
Network attached storage (NAS) allows using TCP/IP network to backup files. This enables multiple servers in IDC to share the same storage for backup at once, which minimizes overhead by centrally managing hard disks. NAS is scalable, high performance network solution. The main advantage is more hard disk storage space added to a network that [...]
- How To Monitor Bandwidth With iptables
Explains how to monitor bandwidth with Linux iptables command.
- Linux: Iptables Allow MYSQL server incoming request on port 3306
MySQL is popular for web applications and acts as the database component of the LAMP, MAMP, and WAMP platforms. Its popularity as a web application is closely tied to the popularity of PHP, which is often combined with MySQL.
MySQL is open source database server and by default it listen on TCP port 3306.
Task: [...] - Linux Iptables block or open DNS / bind service port 53
The domain name service provided by BIND (named) software. It uses both UDP and TCP protocol and listen on port 53. DNS queries less than 512 bytes are transferred using UDP protocol and large queries are handled by TCP protocol such as zone transfer.
i) named/bind server – TCP/UDP port 53
ii)Client (browser, dig etc) [...] - How to: Linux Iptables block common attacks
Following list summaries the common attack on any type of Linux computer:
Syn-flood protection
In this attack system is floods with a series of SYN packets. Each packets causes system to issue a SYN-ACK responses. Then system waits for ACK that follows the SYN+ACK (3 way handshake). Since attack never sends back ACK again entire system resources [...] - Linux Iptables allow or block ICMP ping request
The Internet Control Message Protocol (ICMP) has many messages that are identified by a “type” field. You need to use 0 and 8 ICMP code types.
=> Zero (0) is for echo-reply
=> Eight (8) is for echo-request.
To enable ICMP ping incoming client request use following iptables rule (you need to add following rules [...] - Linux Iptables Avoid IP Spoofing And Bad Addresses Attacks
A sample shell script to stop IP spoofing for internet connected interface using iptables under Linux.
Viewing 1-10 of 14 posts. ( see all popular tags )
Next Page »


Recent Comments
Yesterday ~ 152 Comments
Yesterday ~ 6 Comments
Yesterday ~ 4 Comments
Yesterday ~ 1 Comment
11/30/2008 09:39 pm (2 days ago) ~ 1 Comment