Install
Option 1: Docker Installation (Recommended)
Quick Start:
docker run -d --name goaway \
-p 53:53/udp \
-p 53:53/tcp \
-p 8080:8080 \
pommee/goaway:latest
Using Docker Compose (Recommended for production):
Data will not persist unless volumes are used!
Hashtags are comments
Remove them to make use of any setting
services:
goaway:
image: pommee/goaway:latest
container_name: goaway
restart: unless-stopped
# volumes:
# - /path/to/config:/app/config # Custom settings.yaml configuration
# - /path/to/data:/app/data # Database storage location
environment:
- DNS_PORT=${DNS_PORT:-53}
- WEBSITE_PORT=${WEBSITE_PORT:-8080}
# - DOT_PORT=${DOT_PORT:-853} # Port for DoT
# - DOH_PORT=${DOH_PORT:-443} # Port for DoH
ports:
- "${DNS_PORT:-53}:${DNS_PORT:-53}/udp"
- "${DNS_PORT:-53}:${DNS_PORT:-53}/tcp"
- "${WEBSITE_PORT:-8080}:${WEBSITE_PORT:-8080}/tcp"
# - "${DOT_PORT:-853}:${DOT_PORT:-853}/tcp"
# - "${DOH_PORT:-443}:${DOH_PORT:-443}/tcp"
cap_add:
- NET_BIND_SERVICE
- NET_RAW
Option 2: Quick Install
Quick Install Script:
# Install latest version
curl https://raw.githubusercontent.com/pommee/goaway/main/installer.sh | sh
# Install specific version
curl https://raw.githubusercontent.com/pommee/goaway/main/installer.sh | sh /dev/stdin 0.40.4
The installer will:
- Detect your operating system and architecture
- Download the appropriate binary
- Install it to
~/.local/bin - Set up necessary permissions
Manual Installation: Download binaries directly from the releases page.
Option 3: Build from Source
# Clone the repository
git clone https://github.com/pommee/goaway.git
cd goaway
# Build the frontend
make build
# Build GoAway binary
go build -o goaway
# Start the service
./goaway
### Option 4: Proxmox
Paused
Proxmox script support was removed due to the early stage of the project, will likely be back in the future once the first major release is published. Read more here.
If you are planning on running via Proxmox, then there is a helper-script available here, created by Proxmox VE Helper-Scripts (Community Edition).
Great alternative if you don't want to go through an as manual process and prefer not to use Docker.
Logs / Credentials
Once the LXC is up and running, logs can be found in/var/log/goaway.log. Login credentials can be found either in the log or~/goaway.creds.