Giter Site home page Giter Site logo

firewall's Introduction

  __  _                             _  _ 
 / _|(_) _ __  ___ __      __ __ _ | || |
| |_ | || '__|/ _ \\ \ /\ / // _` || || |
|  _|| || |  |  __/ \ V  V /| (_| || || |
|_|  |_||_|   \___|  \_/\_/  \__,_||_||_|

Simplify use of iptables

Help

Usage: firewall [OPTION]
Configure the firewall with iptables.

Options:
  -l, --list [CHAIN]	display all rules (-n for numbers)
      --list-rules	display all rules commands 
  -b, --basic		set basic security rules on iptables
  -c, --clear		clear all rules on iptables
      --all-accept	set the policy of default chains to ACCEPT
      --all-drop	set the policy of default chains to DROP

  -A, --append CHAIN PROTOCOL PORT	append rule with specified values
  -C, --check CHAIN PROTOCOL PORT	check if rule exist
  -D, --delete CHAIN PROTOCOL PORT	delete rule with specified values
  -i, --add-input PROTOCOL PORT		append INPUT rule
  -I, --rm-input PROTOCOL PORT		delete INPUT rule
  -o, --add-output PROTOCOL PORT	append OUTPUT rule
  -O, --rm-output PROTOCOL PORT		delete OUTPUT rule

      --ssh		add rules for ssh I/O (port 22)
      --http		add rules for http I/O (port 80)
      --https		add rules for https I/O (port 443)
  -n, --node		add rules for node I/O (port 3000)
  -p, --proxy		add rules for KiddieProxy TCP I/O (port 42000)
      --netbios		add rules for NetBIOS I/O

  -h, --help		display this help and exit
      --version		display version information and exit

firewall's People

Contributors

leoattn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.