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/
To install the source code:
$ git clone https://github.com/devblack/YakuzaRouter.git
Alternatively, you can fetch a tarball or zipball:
$ curl -L https://github.com/devblack/YakuzaRouter/tarball/master | tar xzv
(or)
$ wget https://github.com/devblack/YakuzaRouter/tarball/master -O - | tar xzv
sudo ./Yakuza.sh