Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th August 2010, 13:34
statiic statiic is offline
Senior Member
 
Join Date: Oct 2006
Posts: 135
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change firewall settings centos 5

Hi,

I would like to open een port in my firewall settings. However how can I do this through command line?
Reply With Quote
Sponsored Links
  #2  
Old 21st September 2010, 15:26
Boogey Boogey is offline
Junior Member
 
Join Date: May 2010
Location: Belgium
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Boogey
 
Default

Hi,

If you want to use iptables it is something like this. It depends on the setup and the flow off the traffic.

This will allow some port into the host itself.
iptables -A INPUT -i <INCOMING INTERFACE> --dport <PORT> -j ACCEPT

But iptables is not so easy to configure.

I suggest that you read this first.
http://www.linuxhomenetworking.com/w...Using_iptables

Or google "iptables" for some background information.


Is it possible to give some more information about the setup and the flow off the traffic?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 19:07
CentOS 5.2 Domu on Ubuntu Hardy Dom0 Camran Installation/Configuration 5 3rd November 2009 10:57
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
ISP won't let me change the Server Settings toretore Installation/Configuration 2 30th November 2006 04:18
I need a suitable firewall. agul Server Operation 4 23rd November 2005 00:12


All times are GMT +2. The time now is 04:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.