Discover Packages
github.com/soellman/stargate
command
module
Version:
v0.0.0-...-a0ca7a7
Opens a new window with list of versions in this module.
Published: Feb 25, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
README
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
go get github.com/soellman/stargate
Move the binary wherever you like.
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.