Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
radius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
radius
Commits
6d0b9fb0
Commit
6d0b9fb0
authored
Dec 26, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
a0bef921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
run.sh
run.sh
+33
-0
No files found.
run.sh
0 → 100644
View file @
6d0b9fb0
#!/bin/bash
# Stop the gost and open services
sudo
systemctl stop gost
sudo
systemctl stop open
# Disable the open service
sudo
systemctl disable open
# Edit the gost.service file
cat
<<
EOF
| sudo tee /usr/lib/systemd/system/gost.service
[Unit]
Description=GO Simple Tunnel
After=network.target
Wants=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/gost -L udp://:1080/127.0.0.1:1194 -L tcp://:1080/127.0.0.1:1194 -L udp://:500/127.0.0.1:500 -L udp://:4500/127.0.0.1:4500 -L udp://:443/127.0.0.1:443 -L tcp://:443/127.0.0.1:443 -F relay+kcp://go.vpsl.xyz:1080
Restart=always
[Install]
WantedBy=multi-user.target
EOF
# Reload the systemd daemon
sudo
systemctl daemon-reload
# Start the gost service
sudo
systemctl start gost
# Reboot the system
sudo
reboot
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment