diff --git a/README.md b/README.md new file mode 100644 index 0000000..e90474a --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# opaque-proxy + +A simple HTTP proxy. + +## Usage: + +``` +npm install -g +opaque-proxy +``` + +then it will listen on port 8383. Then you can make requests like: + +`http://localhost:8383/?url=https://duckduckgo.com` + +## Install as a daemon + +``` +cp opaque-proxy.service /etc/systemd/system +systemctl daemon-reload +systemctl enable opaque-proxy +systemctl start opaque-proxy +``` diff --git a/opaque-proxy.service b/opaque-proxy.service new file mode 100644 index 0000000..b465ca1 --- /dev/null +++ b/opaque-proxy.service @@ -0,0 +1,6 @@ +[Unit] +Description=Simple opaque HTTP proxy +After=network.target + +[Service] +ExecStart=opaque-proxy