LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2003, 11:59 AM   #1
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
iptables quickie


I want to open all communication both in and out thru my firewall, I can't seem to get it. The ip is 192.168.0.252..

Any help is welcome..
 
Old 07-13-2003, 12:01 PM   #2
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
IN and out? What's the purpose of a firewall if everything is allowed in?
 
Old 07-13-2003, 12:04 PM   #3
phishman3579
Member
 
Registered: May 2003
Posts: 161

Original Poster
Rep: Reputation: 32
everything is allowed into that IP address, I meant...
I don't know which ports my ps2 needs, so I want all traffic from the ps2 and to the ps2 thru the firewall.
 
Old 07-13-2003, 01:35 PM   #4
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
If that's Redhat, add

-A RH-Lokkit-0-50-INPUT -s 192.168.0.252 -d 0/0 -j ACCEPT

to your /etc/sysconfig/iptables

For other distros, replace RH-Lokkit-0-50-INPUT with the proper chain name there.

Mlp
 
  


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
A quickie: Killing X? orange400 Linux - General 1 06-15-2004 04:47 AM
Aah!! What's this?! (a quickie) orange400 Linux - General 3 04-26-2004 12:16 AM
Quickie bkerensa Linux - Newbie 4 08-28-2003 12:27 PM
Just a quickie bigjohn Linux - General 6 12-02-2002 06:33 PM
Quickie anout Stephanie General 1 03-01-2002 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:47 PM.

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