LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Newbie Question - IPTables (https://www.linuxquestions.org/questions/linux-networking-3/newbie-question-iptables-49874/)

cyberperson 03-14-2003 04:49 PM

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

walte 03-14-2003 10:22 PM

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


All times are GMT -5. The time now is 02:31 PM.