A simple bash script to automate the process of running openvpn.
- OpenVPN Client
- Edit your .ovpn file to login automatically
# After "remote ....." line remote my-host-server-example 666 udp auth-user-pass /EXAMPLE_DIR/pass # you can see a pass example in EXAMPLE_DIR
- Edit your .ovpn file to prevent dns leak
#At the end of everything, paste this: script-security 2 up /etc/openvpn/update-systemd-resolved down /etc/openvpn/update-systemd-resolved dhcp-option DOMAIN-ROUTE . # you can see a example in EXAMPLE_DIR
When you use the command dir, always enter the full patch of your dir, example: /home/myuser/Desktop/configs/
Install source from GitHub
To install the source code:
$ git clone https://github.com/devblack/YakuzaRouter.git
Install source from zip/tarball
Alternatively, you can fetch a [tarball] or [zipball]:
$ curl -L https://github.com/devblack/YakuzaRouter/tarball/master | tar xzv
$ wget https://github.com/devblack/YakuzaRouter/tarball/master -O - | tar xzv
By using this provided material the website 1Hack.us is not responsible for any law infringement caused by the users of this material.
Credit to baby_pirate