kampka / firewall Goto Github PK
View Code? Open in Web Editor NEWA simple firewall management tool based on iptables.
A simple firewall management tool based on iptables.
firewall - A simple firewall management tool based on iptables. --------------------------------------------------------------- The scope of this tool is to provide a simple iptables management solution intended to be used by a user as well as part of system init while providing an easy way to set up and manage sets of firewall rules. To deploy rules using the default target, create a script in /etc/firewall/rules.d that accepts 'start' and 'stop' as parameters. When called with the 'start' parameter, the script should take whatever steps are nessecarry to deploy its ruleset, 'stop' should revert these steps. firewall will automaticall evaluate all scripts in the directory that are both executable and have a ".rules" ending. To disable a ruleset, rename the file to ".rules.disabled" or remove the executable flag. firewall will not flush your tablespace or perform any cleanup beyond what is defined in the active rules file. Before disabling a ruleset, it is often nessecarry to call first stop the given ruleset by running 'firewall stop <file.rules>'. Example: /etc/firewall/rules.d/apache.rules #!/bin/sh # Set up rules for port 80 access to an apache web server case $1 in start) /sbin/iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT stop) /sbin/iptables -D INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.