Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-14-2003, 04:49 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 4

Rep: Reputation: 0
Newbie Question - IPTables

I want to setup Iptables to filter all ports except the ones specified. so i set the policy for all tables to DROP and then i add the Ports 80 and 53 but myclients still cant connect to the internet unless i set policies to ACCEPT
Old 03-14-2003, 10:22 PM   #2
LQ Newbie
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
1. define the DROP rule at the end of your iptables script..
2. Enable IP_FORWARD. do as:
#> echo 1 > /proc/sys/net/ipv4/ip_forward


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Newbie iptables INPUT question new@linux Linux - Security 6 03-08-2005 10:42 AM
iptables newbie question Beauford-2 Linux - Security 4 09-26-2004 04:41 AM
newbie question about iptables and samba DarkSun4241 Linux - Networking 1 09-10-2004 09:44 PM
iptables newbie question TurtleBay Linux - Newbie 10 10-09-2003 02:37 PM
Iptables newbie / simple question wr3ck3d Linux - Networking 2 03-06-2003 08:08 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:16 PM.

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