Ligolo-ng

0 - prerequisites

Build proxy:

go build -o proxy cmd/proxy/main.go

Build agent:

go build -o agent cmd/agent/main.go

For windows: add GOOS=windows prefix

1 - start proxy

  • check for correct rights (otherwise chmod)

sudo ./proxy --selfcert

2 - start agent

  • also check for correct rights

./agent -ignore-cert -connect <IP>:11601

3 - setup initial tunnel

  • In ligolo-ng console:

  • sessions -> select new agent session -> autoroute -> via new interface

4 - setup listeners (optional)

TODO

Troubleshooting

Fix for glibc error on linux:

CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o agent cmd/agent/main.go

Last updated

Was this helpful?