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

Abstract Art on stretched canvas

admin headlines

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

USB Redirection hack on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

10 basic examples of Linux ps command

Installing Debian testing On GPT HDDs From A Grml Live Linux

Running SilverStripe On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.04

Step By Step Ubuntu 13.04 (Raring Ringtail) LAMP Server Setup

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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