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:8855 | -Ray, January 9, 2006
More Sysadmin articles...

admin headlines

Install mod_geoip for Apache2 on Ubuntu 9.10

Tutorial: Install Lighttpd, PHP5, MySQL on CentOS 5.4

Tutorial: Create an NFS-like storage server with GlusterFS on Ubuntu 9.10

Unix tools: lsof

DRBD and MySQL: Cheap HA

Install and Configure OpenLDAP on Ubuntu 9.10

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 

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