This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Put in OpenVpn server.conf | |
| # Add: | |
| # push "route 0.0.0.0 0.0.0.0" | |
| # Once the above route is pushed, it should be identified and you should be able to configure the name and set to private. | |
| # The below steps are if you don't have control over the VPN or "unidentified" network. | |
| # WILL POST A BETTER OPTION FOR OPENVPN SOON | |
| # Until then, you can use the below option for any unidentified network |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # First of course, build your key(s) using `./build-key my-new-client` in the /etc/openvpn/easy-rsa dir | |
| # Within the /etc/openvpn/easy-rsa/keys directory | |
| # (or wherever you have your built-keys at) | |
| # bash createClientOvpn.sh my-template-ovpn my-new-client Think cp command | |
| # or ./createClientOvpn.sh my-template-ovpn my-new-client2 | |
| cp $1.ovpn $2.ovpn; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install sudo | |
| useradd -s /bin/bash -m -d /home/$USER -c "$USER" $USER | |
| passwd $USER | |
| ##(enter password) | |
| usermod -aG sudo $USER | |
| sudo apt-get install libcap2-bin | |
| sudo setcap cap_net_bind_service=+ep /usr/local/bin/node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| - # Stack overflow of course helped, parentheses create a "sub-shell" that returns | |
| - # to the original directory it was run in. | |
| (cd src/E*/E* && make development) | |
| git add -A | |
| git reset -- src/E*/E*/public/bundle.js | |
| read -p "Enter message for commit > " message |
NewerOlder