All Projects → flant → netgwm

flant / netgwm

Licence: other
NetGWM (Network Gateway Manager)

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to netgwm

lsconntrack
The Linux netfilter conntrack-based connection flows pretty printer.
Stars: ✭ 38 (+2.7%)
Mutual labels:  conntrack
Linux-System-Management-Scripts-Tricks
Linux Security & Linux Hardening & Linux Management & Linux Configuration
Stars: ✭ 70 (+89.19%)
Mutual labels:  iptables
ipset-netgear-r7000-dd-wrt
Packages and kernel modules for ipset support for the Netgear R7000 running DD-WRT firmware
Stars: ✭ 45 (+21.62%)
Mutual labels:  iptables
ddos-mitigation
Tips to mitigate and secure your large-scale server against DDoS attacks.
Stars: ✭ 58 (+56.76%)
Mutual labels:  iptables
docker-nfqueue-scapy
Docker container for intercepting packets with scapy from a netfilter queue (nfqueue)
Stars: ✭ 78 (+110.81%)
Mutual labels:  iptables
DrawBridge
Layer 4 Single Packet Authentication Linux kernel module utilizing Netfilter hooks and kernel supported Berkeley Packet Filters (BPF)
Stars: ✭ 81 (+118.92%)
Mutual labels:  iptables
xt NAT
Full Cone NAT module for Linux iptables
Stars: ✭ 65 (+75.68%)
Mutual labels:  iptables
uppersafe-osfw
UPPERSAFE Open Source Firewall
Stars: ✭ 21 (-43.24%)
Mutual labels:  iptables
nDPI
Open Source Deep Packet Inspection Software Toolkit
Stars: ✭ 92 (+148.65%)
Mutual labels:  iptables
webfilter-ng
Transparent HTTP/HTTPS/TLS web filter
Stars: ✭ 29 (-21.62%)
Mutual labels:  iptables
dubbo-go-pixiu
Based on the proxy gateway service of dubbo-go, it solves the problem that the external protocol calls the internal Dubbo cluster. At present, it supports HTTP and gRPC[developing].
Stars: ✭ 385 (+940.54%)
Mutual labels:  gateways
hev-socks5-tproxy
A simple, lightweight socks5 transparent proxy for Linux. (IPv4/IPv6/TCP/UDP over TCP)
Stars: ✭ 209 (+464.86%)
Mutual labels:  iptables
ipt xor
iptables xor module
Stars: ✭ 15 (-59.46%)
Mutual labels:  iptables
Wan-Emulation-TC-and-Netem
Wide Area Network Link Emulation with TC and NetEm
Stars: ✭ 22 (-40.54%)
Mutual labels:  iproute2
awesome-sysadmin-tools
Collection of links and resources for sysadmins and Drupal lovers
Stars: ✭ 17 (-54.05%)
Mutual labels:  iptables
go-ipset
🔥 Go bindings for the IPtables ipset http://ipset.netfilter.org userspace utility
Stars: ✭ 110 (+197.3%)
Mutual labels:  iptables
droplan
Manage iptable rules for the private interface on DigitalOcean droplets
Stars: ✭ 69 (+86.49%)
Mutual labels:  iptables
BankPayment
Persian Bank Payment Server
Stars: ✭ 37 (+0%)
Mutual labels:  gateways
DROP-ISP-TCP-Hijacking
过滤运营商的劫持包
Stars: ✭ 77 (+108.11%)
Mutual labels:  iptables
awall
[MIRROR] Alpine firewall configuration tool
Stars: ✭ 37 (+0%)
Mutual labels:  iptables
NetGWM stands for Network Gateway Manager
(http://flant.ru/projects/netgwm)

NetGWM is a tool on Python used for automatically switching
network gateway when your current ISP goes offline.

How to deploy NetGWM?
0) Install prerequisites:
   - iproute2
   - conntrack (http://conntrack-tools.netfilter.org/)
   - python-yaml (http://pyyaml.org/)
1) Execute "make install". It will create /usr/lib/netgwm
   with netgwm.py and /etc/netgwm with configs and samples.
2) Using simple YAML configuration file (samples/netgwm.yml),
   you should define your gateways (by IPs or devices) and
   their priorities. In /etc/default/netgwm, you can change
   the period of checking gateways (by default, every 60 sec).
3) Add new routing table named "netgwm_check" to your iproute
   configuration file (/etc/iproute2/rt_tables; there is
   an example at samples/rt_tables.sample). It's done
   automatically in the Debian package.
4) Use /etc/init.d/netgwm to launch NetGWM.

That's all! NetGWM will ping given addresses through your
current gateway to check your Internet connection. If all
of these addresses are down, NetGWM will switch your current
gateway to a working one (with a highest priority).

Other features:
* A gateway is considered as working only after N seconds
  of successfull checks. This setting ("min_uptime") can be
  configured in netgwm.yml.
* When a gateway with a higher priority goes back online
  NetGWM will automatically switch to it from the current
  one.
* Every time NetGWM switches a network gateway, it will
  execute all the scripts placed in
  /etc/netgwm/post-replace.d (for more details, please have
  a look at samples/post-replace.d/script.sh).
* NetGWM can maintain the full list of gateways statuses
  continually for your special needs (e.g. to be used in
  other software). This data is stored in
  /var/run/netgwm/gwstore.yml. This setting
  ("check_all_gateways") can be enabled in netgwm.yml.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].