Skip to content

rasata/iptables-web-gui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iptables-web-gui

Lightweight website based GUI for iptables

Features

  • simple
  • zero configuration
  • writted in plain PHP (zero dependencies)
  • clean interface
  • editing rules on fly, no storage needed
  • supported filter and nat tables with all chains

Requirements

  • PHP 5.3 or newer
  • ssh2 extension
  • and ofcourse iptables on remote server (tested only with v1.4.14)

How to install

  1. download sources
  2. edit config.php and set SSH configuration (key or password based)
  3. secure by our www server (some guide bellow)
  4. run

How to secure (with nginx)

  1. disallow public access, for instance - allow only my personal IP
  2. set HTTP authentication

Example:

location {
  allow 123.123.123.123;
  deny all;

  auth_basic "iptables";
  auth_basic_user_file /path/to/htpasswd;
}

TODO

  • ipv6 support

About

Lightweight website based GUI for iptables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 56.8%
  • HTML 43.2%