Posts tagged as:

iptables command

You would like to block outgoing access to particular remote host/ip for all or selected service/port.
Following rule will block ip address 202.54.1.22 from making any outgoing connection:
iptables -A OUTPUT -d 202.54.1.22 -j DROP
This way you can block chat server ip address or site having dangerous contains such as viruses. It is also possible [...]

{ 8 comments }

Sometime it is necessary to block incoming connection or traffic from specific remote host. iptables is administration tool for IPv4 packet filtering and NAT under Linux kernel. Following tip will help you to block attacker or spammers IP address.
How do I block specific incoming ip address?
Following iptable rule will drop incoming connection from host/IP 202.54.20.22:
iptables [...]

{ 5 comments }

There are a few ways to set up a Linux machine as route. Here is a relatively straight forward and common method. This method requires that the system use iptables for Network Address Translation (NAT).
This step by step small howto will help you to setup Linux router only in 2 minutes.
Configuration steps
=> First enable [...]

{ 14 comments }

BIND is the Berkeley Internet Name Domain, DNS server. It is wildly used on UNIX and Linux like oses. You can use following tools to troubleshoot bind related problems under UNIX or Linux oses.
Task: Port 53 open and listing requests
By default BIND listen DNS queries on port 53. So make sure port 53 is open [...]

{ 4 comments }