summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3552bc0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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