June 2020
« Mar    


WordPress Quotes

Be Content with what you have; rejoice in the way things are. When you realize there is nothing lacking, the whole world belongs to you.
Lao Tzu
June 2020
« Mar    

Short Cuts

2012 SERVER (64)
2016 windows (9)
AIX (13)
Amazon (40)
Ansibile (19)
Apache (135)
Asterisk (2)
cassandra (2)
Centos (211)
Centos RHEL 7 (270)
centos8 (3)
chef (3)
cloud (2)
cluster (3)
Coherence (1)
DB2 (5)
DISK (25)
DNS (9)
Docker (30)
Eassy (11)
ELKS (1)
Fedora (6)
ftp (5)
GIT (3)
GOD (2)
Grub (1)
Hacking (10)
Hadoop (6)
health (2)
horoscope (23)
Hyper-V (10)
IIS (15)
JAVA (7)
JBOSS (32)
jenkins (1)
Kubernetes (7)
Ldap (5)
Linux (188)
Linux Commands (166)
Load balancer (5)
mariadb (14)
Mongodb (4)
MQ Server (24)
MYSQL (84)
Nagios (5)
NaturalOil (13)
Nginx (35)
Ngix (1)
openldap (1)
Openstack (6)
Oracle (35)
Perl (3)
Postfix (19)
Postgresql (1)
PowerShell (2)
Python (3)
qmail (36)
Redis (12)
RHCE (28)
Security on Centos (29)
SFTP (1)
Shell (64)
Solaris (58)
Sql Server 2012 (4)
squid (3)
SSH (10)
SSL (14)
Storage (1)
swap (3)
TIPS on Linux (28)
tomcat (62)
Ubuntu (1)
Uncategorized (30)
Veritas (2)
vfabric (1)
VMware (28)
Weblogic (38)
Websphere (71)
Windows (19)
Windows Software (2)
wordpress (1)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Who's Online

0 visitors online now
0 guests, 0 bots, 0 members

Hit Counter provided by dental implants orange county

iptables Rules

Block IP traffic from an specific IP or Network.

Block from an IP

iptables -A INPUT -s -j DROP

If you want to block only on an specific NIC

iptables -A INPUT -s -i eth0 -j DROP

Or an specific port

iptables -A INPUT -s -p tcp -dport 22 -j DROP

Using […]

IPTABLES firewall script generated online website

According to the website wizard can automatically generate the IPTABLES firewall wall script!

1, Bifrost-GUI firewall management interface to iptbales [Url] http://bifrost.heimdalls.com/ [/ url]

2, LinWiz-Linux configuration file and scripting Wizards [Url] http://www.lowth.com/LinWiz/ [/ url]

3, GIPTables Firewall-IPTABLES Rules Generator [Url] http://www.giptables.org [/ url]

4, Easy Firewall Generator for IPTables [Url] http://morizot.net/firewall/gen […]

IPTables “Stealth” Scan Detection

Many of you probably know about port scanning. It’s a very simple process, where essentially you attempt to to make a connection on several ports of several machines. If the port is closed, a reset is returned. If the port is open, a SYN+ACK is returned.

Now, there are some other types of scans, such […]

Bridging, Transparent Firewalls and Intrusion Prevention


What is Bridging? Installing a Bridge Configuring a Bridge What is a Bridging Firewall? Installing a Bridging Ebtables Firewall Configuring a Bridging Ebtables Firewall Installing a Bridging Iptables Firewall Configuring a Bridging Iptables Firewall What is an Intrusion Prevention System? Installing an Intrusion Prevention System Configuring an Intrusion Prevention System

What is Bridging?


Stealth Firewalling with Linux

What Is Stealth Firewalling with Linux?Simply put, a stealth firewall is an Ethernet bridge with filtering capabilities. This means that it’s a firewall that operates at Layer 2 of the OSI model, leveraging netfilter rules and chains (Linux’s firewall system) applied to the bridge. For those not familiar with what a bridge is: an Ethernet […]

Iptables rewirte for 8080 and 8443

Another way of achieving the same thing is to add an iptable redirection rule.

We have done it this way, because we didn’t want to add the xinit package to our standard configuration.

These instructions were created on a Debian Lenny system.

Create a new “if-up” script:sudo vim /etc/network/if-up.d/jira-redirect

Make this its content:

#!/bin/bashfor i […]


-A FORWARD -s -m string –string “facebook.com” –algo kmp –to 65535 -j ACCEPTA FORWARD -m string –string “youtube.com” –algo kmp –to 65535 -j DROP-A FORWARD -m string –string “facebook.com” –algo kmp –to 65535 -j DROP-A FORWARD -m string –string “meebo.com” –algo kmp –to 65535 -j DROP

Blocking Nmap Scans using IPtables on Linux server

Below Rules will block few of the Nmap Scans on ur linux server

The default config files of IPtables for RHEL / CentOS / Fedora Linux are located here

/etc/sysconfig/iptables –

iptables -A INPUT -p tcp –tcp-flags ALL FIN -j DROP iptables -A INPUT -p tcp –tcp-flags ALL NONE -j DROP iptables -A INPUT […]

CentOS / Redhat Iptables

How do I configure a host-based firewall called Netfilter (iptables) under CentOS / RHEL / Fedora / Redhat Enterprise Linux? Netfilter is a host-based firewall for Linux operating systems. It is included as part of the Linux distribution and it is activated by default. This firewall is controlled by the program called iptables. Netfilter filtering […]

Shorewall Firewall

Installing and configuring Shorewall in CentOS

Netfilter is a packet filtering in Linux 2.4.x and 2.6.x kernels Enables packet filtering (network address and port), NAT and other packages. Redesigned and highly improved from the previous kernel 2.2.x, ipchains and ipfwadm kernel 2.0.x.

Netfilter is a set of structures within the kernel that allows modules to […]