Librenix  
(Show all IPtables articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Opening SSH and HTTP ports with iptables

Up
vote
Down

How to use the command line to open ports on your iptables firewall under Linux.
I have to look this up from time to time, usually just after installing a new Linux system intended for use as a test server. There are GUI tools for configuring the firewall, but I usually leave the entire windowing system uninstalled.

By default, many Linux distributions will start up sshd and httpd, but you won’t be able to connect to them over the network, since the ports will be blocked by iptables. The examples below are for Red Hat or CentOS (which is basically Red Hat), and may vary slightly betweenl distributions.
 read more | mail this link | score:8037 | -Ray, January 9, 2006
More Sysadmin articles...

Abstract Art in Tallahassee

admin headlines

Gluster 3.4.2 on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Tutorial: Installing Lighttpd, PHP5, PHP-FPM, MySQL on Debian 7

Tutorial: Install Apache2, PHP5, MySQL on OpenSUSE 12.3

Semi-manual LVM disk partitioning guide for Fedora 18

Tutorial: Automatically add a disclaimer to emails with alterMIME (Postfix on Debian 6)

Create Virtual Hosts with mod_mysql_vhost on Lighttpd (Ubuntu 12.04)

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin