An open API service indexing awesome lists of open source software.

https://github.com/jinndi/shadowsocks-tunnel-install

Shadowsocks tunnel installer between servers for using VPN. Ubuntu or Debian
https://github.com/jinndi/shadowsocks-tunnel-install

bash ipsec linux network openvpn shadowsocks shadowsocks-rust shell tun2socks tunnel tunnel-server vpn wireguard

Last synced: 7 months ago
JSON representation

Shadowsocks tunnel installer between servers for using VPN. Ubuntu or Debian

Awesome Lists containing this project

README

          

# Configuration scripts for a Shadowsocks tunnel between two servers.
These scripts will allow you to establish a tunnel between two servers by creating a default Internet interface on the client server to pass traffic through the shadowsocks protocol.

## Features
1. Creating and configuring a shadowsocks-rust server with connection data on the "sending server"
2. Creating an Internet tunnel from the "sending server" to the "receiving server" via tun2socks with the Internet interface raised by default.
3. Managing the created services on both sides.

## Purpose
1. Using a network from a "sending server" from a country least subject to Internet censorship.
2. Installing a VPN server on a "receiving server" at home to bypass blocking of client connections by IP to other countries.
3. Encrypting data, eliminating the time difference between location and browser, hiding ports (for example, ipsec)

## Tunnel installation
1. First of all install `sending-server.sh` script on the server with less censorship command:
```
curl -fsSL https://raw.githubusercontent.com/jinndi/shadowsocks-tunnel-install/refs/heads/main/sending-server.sh -o ssserver.sh && sudo bash ssserver.sh
```
The file `ssserver.sh` will be downloaded to the current directory and immediately launched, if we do this for the first time, we will be prompted to install the shadowsocks-rust server, install and receive data for connection, save them in a notepad, the subsequent launch of this script will call the service management menu.

2. Next, we install the tunnel setup script `receiving-server.sh` on the server with the home residence, the command is as follows:
```
curl -fsSL https://raw.githubusercontent.com/jinndi/shadowsocks-tunnel-install/refs/heads/main/receiving-server.sh -o tun2socks.sh && sudo bash tun2socks.sh
```
The file `tun2socks.sh` will be downloaded to the current directory and immediately launched, if we do this for the first time, we will be prompted to install the tun2socks Internet tunnel interface, in the process we enter the connection data to the server obtained from the previous point, the subsequent launch of this script will call the service management menu.

## Installing VPN
1. We install VPN on the server where the tunnel is configured (home residence server).
2. Important! Before installing the VPN server, stop the tunnel in the script menu `tun2socks.sh` and then run it, do not use Docker installation.
3. Recommended installers: [ipsec](https://github.com/hwdsl2/setup-ipsec-vpn), [wireguard](https://github.com/hwdsl2/wireguard-install), [openvpn](https://github.com/hwdsl2/openvpn-install)