stargate

command module
v0.0.0-...-a0ca7a7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: Apache-2.0 Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

stargate

Easy flexible captive portal. Leave your network open, and stargate can control access for you. Run it on your router, if you dare!

Feedback is wanted. Open issues!

Features

  • Control access to multiple networks as well as the internet
  • Tokens can
  • Multiple keys per token

Installation

  1. go get github.com/soellman/stargate
  2. Move the binary wherever you like.
  3. Copy the example config (example/stargate.yaml) to /etc/stargate.yaml, and edit as you like. Make it 0400.

Running

Start it up (e.g. nohup sudo stargate). You'll need to run as root - it requires iptables and has passwords in the config file.

Notes

  • Make sure you enable ip forwarding: sysctl -w net.ipv4.ip_forward=1
  • It logs to stdout, redirect as you please.
  • When you stop stargate, it will remove all access from the managed network
  • Logging in only provides access until the token expires or stargate is stopped/restarted

Security

Stargate is NOT professional-grade security. Use at your own risk.

  • Stargate is susceptible to DNS tunneling
  • Stargate doesn't support SSL and login traffic can be sniffed

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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