Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
07-13-2003, 11:59 AM
|
#1
|
Member
Registered: May 2003
Posts: 161
Rep:
|
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..
|
|
|
07-13-2003, 12:01 PM
|
#2
|
Member
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207
Rep:
|
IN and out? What's the purpose of a firewall if everything is allowed in?
|
|
|
07-13-2003, 12:04 PM
|
#3
|
Member
Registered: May 2003
Posts: 161
Original Poster
Rep:
|
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.
|
|
|
07-13-2003, 01:35 PM
|
#4
|
Member
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|