This series of tutorials aims to let you master the basic usage of Gost, thus ignoring the barriers of the Internet.

The first part of the series is about using a tunnel to go over the wall.

## What is Gost

Gost, or Go Simple Tunnel, is a simple security tunnel written in Golang.

## Why Gost

The current international Internet situation is grim, and traditional protocol cross-region communication is easily hindered, and the Gost tunnel can transmit completely normal and the most common communication traffic on the Internet, thereby secretly and efficiently transmitting data.

## Install Gost

Get the latest version of Gost on

Or, if your server runs in Mainland China, you can download Gost 2.11.0 Linux AMD64 version here.

After you downloaded the binary files of Gost, unzip it

And rename it as Gost

Give it permission to run

## How to

before doing all these following, enter your Gost path first

### Server

Assuming that your server is running a service on port 9000, we will set up a tunnel on port 8000

Parameter -L means you are creating a local agent

-L ws://:8000 means you are creating a local agent of WebSocket protocol

-L ws://:8000/127.0.0.1:9000 means you are creating a local agents of WebSocket and forwarding the traffic to local port 9000

If you are not running a service, you can do the work above while creating a local service

It means while you’ve done the work above, you also created a ss service on port 9000

After the work above, keep port 8000 open and port 9000 closed

### Client

Assuming that your server IP is 45.45.7.7

Parameter -F means you are forwarding your traffic

Protocol forward means it is a tunnel rather than a simple forwarding

So the whole command means that you are running a local tcp proxy on prot 7000 and forwarding your traffic through a WebSocket tunnel to 45.45.7.7 on port 8000

Keep port 7000 open

No need to open port 8000

## Done

Test your configuration, after confirming the config is valid, use nohup to keep the service running

------ 本文结束，感觉怎样？ ------