summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3552bc0edf8aaf675fce1bbe6b6270aaad9bca87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
OBFS4_ENDPOINT ?= 
OBFS4_CERT ?= 

certs:
	curl -k https://black.riseup.net/ca.crt > /tmp/ca.crt
	curl -k https://api.black.riseup.net/3/cert > /tmp/cert.pem

build-client:
	go get ./...
	go build -o obfsvpn-client ./client

run-client:
	./obfsvpn-client -c ${OBFS4_CERT}

run-openvpn:
	./scripts/run-openvpn-client.sh

check:
	curl https://wtfismyip.com/json