How To: Disable Firewall on RHEL / CentOS / RedHat Linux

How To: Disable Firewall on RHEL / CentOS / RedHat Linux

by  on OCTOBER 10, 2007 · 24 COMMENTS· last updated at JUNE 28, 2012

I don’t want firewall because I only run one http (port 80) public service. How do I turn off or disable firewall permanently under RHEL / Fedora Linux / Red Hat Enterprise Linux and CentOS Linux?
iptables is administration tool / command for IPv4 packet filtering and NAT. You need to use the following tools:
[a] service is a command to run a System V init script. It is use to save / stop / start firewall service.
[b] chkconfig command is used to update and queries runlevel information for system service. It is a system tool for maintaining the /etc/rc*.d hierarchy. Use this tool to disable firewall service at boot time.

How Do I Disable Firewall?

First login as the root user.
Next enter the following three commands to disable firewall.
# service iptables save
# service iptables stop
# chkconfig iptables off

If you are using IPv6 firewall, enter: Continue reading How To: Disable Firewall on RHEL / CentOS / RedHat Linux

The Detail Specification about My New Toy : BARCAFOREVER-PC


Hi Folks,

Recently, I purchased my new Toys. Now, I have enough toys to play with and to improve my self. So, let’s Rock and Roll!

– My new BARCAFOREVER-PC Desktop Computer
– My old apple MacBook Pro
– My apple iPad 3rd Gen
– My Samsung Galaxy Note 1st Gen
– My apple iPod 4th Gen

Right now, I want to show up my New Toy. Yup, it is BARCAFOREVER-PC.
These are the Spec :
– Processor : Intel Core i7 3770K Ivy Bridge 4 Core @2 Thread 3,8 GHz 
– Memory : V-Gen DDR3 16 GB
– VGA Card : Digital Alliance NVidia GeForce 2 GB 128 Bit
– Disk : SATA III Seagate 2 TB
– Motherboard : Gigabyte LGA 1155
– DVD : Samsung DVD Writer 
– Webcam and Mic : Logitech C120
– Casing : Simbadda Simcool
– Keyboard and Mouse : Logitech MK200
– Monitor : LG LED 22″ Full HD + TV
– SSD (plan)
– UPS (plan)
– Wireless Router : TP-LINK
– Modem : ProLink HSPA
– Joystick : Wireless Havit

That’s it! Let’s Play!
And Do some Heavy IT Research and Development on it!
Best Regards,
Doddi Priyambodo

Mekanisme IP Port Forward di Linux, Mikrotik, Windows

IP & Port Forwarding. Mekanisme port forward adalah sebuah cara untuk melakukan penerusan paket ke tempat lain, tanpa client perlu mengetahui dan merasakan bahwa sebenarnya paket itu bukan ditembak ke server tujuan dari client. Melainkan dialihkan ke server yang lain.
Konfigurasi : CLIENT —>SERVER (published) —> SERVER (local)

Mekanisme untuk melakukan Port Forwarding adalah sebagai berikut :
1. LINUX (ini untuk wizard secara visualisasi) (ini script otomatisnya)
Contoh Kasus :

1). Kita ingin mengalihkan seluruh request dari client yang masuk dengan port 15035 menuju ke
# iptables -t nat -I PREROUTING -p tcp –dport 15035 -j DNAT –to
Contoh lain :
# iptables -t nat -A PREROUTING -p tcp –dport 90080 -j DNAT –to
Contoh lain :
# iptables -t nat -A PREROUTING -d -j DNAT –to-destination
# iptables -A FORWARD -j LOG –log-prefix ‘DROPPING: ‘ –log-level info
# tail -fn100 /dev/log/messages | grep DROPPING
2). Kita ingin menjalankan APACHE TOMCAT yang berjalan secara lokal di port 8080, tetapi kita ingin menampilkan keluar sebagai port 80 tanpa merubah konfigurasi TOMCAT, tetapi menggunakan iptables.
# iptables –table nat –append PREROUTING –protocol tcp –destination-port 80 –in-interface eth0 –jump REDIRECT –to-port 8080
Aturan diatas tidak bisa melakukan redirect permintaan lokal. Karena menggunakan perintah PREROUTING. Jika ada client yang jalan langsung di server, maka gunakan port 8080.
Berikut ini mekanisme untuk membelokkan paket dari server ke
/ip firewall nat add chain=dstnat dst-address= protocol=tcp dst-port=80
action=dst-nat to-addresses= to-ports=8080
Biasanya saya menggunakan aplikasi Free dari Internet untuk tujuan ini, yaitu :