LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   blocking and allowing ports (https://www.linuxquestions.org/questions/linux-networking-3/blocking-and-allowing-ports-261020/)

drumlix18 11-30-2004 02:44 PM

blocking and allowing ports
 
how would i go about making a small custom firewall? i have a txt file containing a list of ports along with an action stating whether to allow an IN, OUT, or BOTH connection. i understand i need to create a system call and/or modify the tcp_v4_rcv function but am unclear. can someone help me along or assist me in another approach? thanks!

masand 11-30-2004 03:04 PM

hi there

shorewall is easy and a good firewall
have look at
shorewall.org and chek out its docs

regards

drumlix18 11-30-2004 03:16 PM

thanks but i dont want a program. i need to make it myself (its also for a project) and i'm relatively new to linux. i just need to understand how to block and allow ports using the structaddr module

jonr 11-30-2004 03:24 PM

Guarddog (which requires some of the KDE stuff, but not the KDE desktop) is what I use. It makes it easy to customize iptables however you want your firewall set up.

SoccerDad 11-30-2004 06:36 PM

Everything you need to know --> Netfilter


All times are GMT -5. The time now is 06:15 PM.