Tags » Iptables

Initial Settings after installing the CentOS 7

1) To change the hostname permanently, edit the following file:

sudo vi /etc/hostname

Here you can simply put the name of your system (in my case, I have assigned it CentOS-7):


Bloquear ip : Blackhole - route - iptables

Cuando queremos bloquear una ip o un rango, tenemos diversas opciones.

Mediante iptables:

iptables -i ethX -A INPUT -s xx.xx.xx.xx -j LOG --log-prefix "IP DROP SPOOF A:"
iptables -i ethX -A INPUT -s xx.xx.xx.xx -j DROP
iptables -I INPUT -s xx.xx.xx.xx -j ACCEPT
… 132 more words

HowTo Harden Wordpress Security

Researching ways to better secure a web-server against attacks on WordPress clients has yielded great results. While many vulnerabilities exist at every layer, many avenues can be taken to increase the security of a CMS hosting system. 559 more words


How to block port scans using IPTABLES only

To put it in simple words, Iptables is a firewall that comes installed with most of the Linux distributions. It is extremely powerful if used correctly and this article will just show off one way you can use it. 599 more words


Disable/enable iptables in Centos


Disable iptables / turn OFF firewall
# /etc/init.d/iptables save
# /etc/init.d/iptables stop

Turn off firewall on boot:
# chkconfig iptables off

Enable iptables / turn ON firewall… 14 more words


Linux Demilitarized Zone (DMZ) Ethernet Interface Requirements and Configuration

the ori : http://www.cyberciti.biz/faq/linux-demilitarized-zone-howto/

Q. Can you tell me more about Linux Demilitarized Zone and Ethernet Interface Card Requirements for typical DMZ implementation? How can a rule be set to route traffic to certain machines on a DMZ for HTTP or SMTP? 555 more words


setting iptables permanen di OpenSuse 12.3

assalamu’alaikum warahmatullahi wabarakatuh..

pagi ini kita akan sedikit membahas bagaimana cara membuat iptables permanen di suse (karena tidak ada paket iptables-persistent). caranya cukup sederhana kok.