# Yakuza Router a tool for OPENVPN Client \[FOR LINUX ONLY\]

**URL:** <https://onehack.st/t/yakuza-router-a-tool-for-openvpn-client-for-linux-only/107312>\
**Category:** Tools & Scripts\
**Tags:** tools, privacy, networking, operating-system\
**Created:** [September 12, 2020, 7:33pm UTC](https://onehack.st/t/yakuza-router-a-tool-for-openvpn-client-for-linux-only/107312 "2020-09-12T19:33:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prometheus](https://onehack.st/user_avatar/onehack.st/prometheus/32/34950_2.png) [@Prometheus](https://onehack.st/u/Prometheus)\
**Post date:** [September 12, 2020, 7:33pm UTC](https://onehack.st/t/yakuza-router-a-tool-for-openvpn-client-for-linux-only/107312/1 "2020-09-12T19:33:13Z")

</div>

# YakuzaRouter

A simple bash script to automate the process of running openvpn.  
 ![](https://i.imgur.com/IPqz3hO.png)

# Requirements

- OpenVPN Client

# Before run

- Edit your .ovpn file to login automatically

```bash
# 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

```bash
#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

```

# Suggestion

When you use the command dir, always enter the full patch of your dir, example: /home/myuser/Desktop/configs/

# Installation

### Install source from GitHub

To install the source code:  
$ git clone [https://github.com/devblack/YakuzaRouter.git](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](https://github.com/devblack/YakuzaRouter/tarball/master) | tar xzv  
(or)  
$ wget [https://github.com/devblack/YakuzaRouter/tarball/master](https://github.com/devblack/YakuzaRouter/tarball/master) -O - | tar xzv  
[tarball]: [https://github.com/devblack/YakuzaRouter/tarball/master](https://github.com/devblack/YakuzaRouter/tarball/master)  
[zipball]: [https://github.com/devblack/YakuzaRouter/zipball/master](https://github.com/devblack/YakuzaRouter/zipball/master)

# Usage

```auto
sudo ./Yakuza.sh

```

> # Disclaimer
> 
> This post is provided to help you and for personal use only. Sharing the content of your subscribed materials and the other purchased content is strictly prohibited under 1Hack Terms of Use.
> 
> By using this provided material the website [1Hack.us](http://1Hack.us) is not responsible for any law infringement caused by the users of this material.

**Credit to baby\_pirate**
