smart-gateway

command module
v0.0.0-...-84c4fc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

SmartGateway

SmartGateway is smart gateway.It uses iptables to forward traffic. The traffic outbounds is tproxy of v2ray. SmartGateway run in docker, So it is very easy to install and uninstall.

Dependency

  • Docker
  • Linux

QuickStart

  • Easy to install
docker run -d --name gate --privileged --net host \
       -v "/var/run/docker.sock:/var/run/docker.sock" \
       -v "/var/lib/docker/volumes:/var/lib/docker/volumes" \
       aiyijing/gw:latest 
  • uninstall
docker stop gate ;docker rm gate
# clear ip rule and iptables
ip route del local 0.0.0.0/0 dev lo table 100
ip rule del fwmark 0x1 table 100
iptables -F
iptables -X
iptables -Z

Feature

  • SmartDNS
  • Smart forward traffic
  • Simple to install and uninstall

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
api
internal
sys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL