ip-auth is a reverse proxy to allow access only by certain IPs.
Make sure to check the repository for the latest version.
There are circumstances where properly setup Basic Auth won’t work [1]. IP Auth is a workaround by allowing specific IPs access to the service and proxying the traffic to the original service. Allowed IPs can be specified or dynamically added by passing a Basic Auth login once from any device on the same IP. Everything is stored in memory and will be lost on restarts.
» Installation
» Binaries
Binaries are available for all major platforms. See the releases page.
» Container
| |
Add the container as a sidecar and point your endpoints to it.
» Homebrew
Using the Homebrew package manager for macOS:
| |
» Go
It’s also possible to install via go install:
| |
» Usage
| |
All options can also be set as environment variables by using their uppercase flag names and changing dashes (-) with underscores (_).