Skip to content

waxz/self-hosted-instance-on-cloudflared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash_scripts

scripts to setup v2ray, gost and openlist on Ubuntu(aws vps or koyeb) and Windows.

Notice

This project heavily relies on JSONBIN. Please deploy it first.

Prepare

JSONBIN VARS

cp .vars.example .vars

Modify .vars according to your needs.

Install dependencies

sudo -E ./download.sh
sudo -E ./install_cron_jobs.sh

openlist

server on Ubuntu

All jobs will run at startup. You can also run script manually. Admin password is set to JSONBINKEY in .vars.

sudo -E ./setup_openlist.sh

webdav endpoint

https://<JSONBINURL>/_forward/<JSONBINOPENLISTPATH>/<JSONBINV2RAYPATH>/urlsplit/dav

raidrive on Windows

clients for webdav

raidrive

raidrive-webdav

v2ray

v2ray on Ubuntu

sudo -E bash ./setup_v2ray.sh 

tor on Ubuntu

sudo -E bash ./setup_tor.sh

setup v2ray over tor

sudo -E bash ./setup_v2ray_outbound.sh tor

v2ray subscription

https://<JSONBINURL>/<JSONBINV2RAYPATH>/?key=<JSONBINKEY>&q=sub

ttyd

sudo -E bash ./setup_ttyd.sh 

visit your jsonbin domain

https://<JSONBINURL>/<JSONBINAWSTTYDPATH>/?key=<JSONBINKEY>&redirect=1

windows

v2raya

./download_v2raya.ps1

./run_v2ray.ps1

gost

./proxy_gost_cf.ps1

Reference

cron

https://askubuntu.com/questions/2368/how-do-i-set-up-a-cron-job https://stackoverflow.com/questions/10193788/restarting-cron-after-changing-crontab-file https://unix.stackexchange.com/questions/458713/how-are-files-under-etc-cron-d-used https://askubuntu.com/questions/1216322/error-bad-username-while-reading-etc-crontab https://unix.stackexchange.com/questions/67940/cron-ignores-variables-defined-in-bashrc-and-bash-profile https://stackoverflow.com/questions/9733338/remove-first-and-last-quote-from-a-variable

About

self-hosted instance on Ubuntu. V2ray + Openlist over Cloudflared tunnel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published