Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Set proper IP address for openvpn client to run behind stunnel.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinism committed Apr 21, 2020
1 parent 7a434fd commit 8e2a03f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function create_user {
function download_user {
info "+ Downloading user client..."
docker-compose run --rm openvpn ovpn_getclient "$USERNAME" > "$CONFIG_PATH"
sed -i "s/^remote .*\r$/remote localhost 41194 tcp\r/g" "$CONFIG_PATH"
success "+ User profile downloaded at $CONFIG_PATH"
}

Expand Down
2 changes: 1 addition & 1 deletion todo.org
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#+TITLE: Docker Stealth OpenVPN

* [ ] Set proper client IP to connect through Stunnel
* [X] Set proper client IP to connect through Stunnel
* [ ] Drop make (It's not available on some systems by default)
* [ ] Add Readme

0 comments on commit 8e2a03f

Please sign in to comment.