LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-28-2004, 10:00 AM   #1
deley71
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
enabling ports on iptables


i just changed my domain host . My new website control panel is "domain nameort number"
My temporary website address is "ip addressort number/browsen"

i can view it without the firewall but once i'm behind the firewall i cant. i have iptables firewall on redhat linux 9.

please how can i modify the firewall to allow access from my lan.
 
Old 07-14-2004, 02:54 PM   #2
the_reen
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: SuSE 9.2 Professional
Posts: 22

Rep: Reputation: 15
Just add those to your iptables configuration file:


iptables -A INPUT -i eth0 -j ACCEPT
iptables -A OUTPUT -o eth0 -j ACCEPT

eth0 -> is your LAN card in your server ... modify if needed ...

This will give access to all your LAN traffic ;-)
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
enabling ports for certain apps cjae SUSE / openSUSE 1 11-28-2005 12:20 AM
Enabling ports for samba toadoy Linux - Newbie 3 07-08-2004 06:35 AM
IPtables open ports Paul_assheton Linux - Security 3 10-10-2003 02:03 AM
Enabling telnet on other ports guinnyn Linux - Networking 0 08-22-2003 07:49 PM
enabling ports! chris Linux - General 7 11-19-2002 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration