Coder Social home page Coder Social logo

dasunpamod / xray-tun2socks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamtrazy/xray-tun2socks

0.0 0.0 0.0 3.19 MB

This is a simple script that will route all traffic through xray using tun2socks tun adapter

License: Apache License 2.0

Shell 100.00%

xray-tun2socks's Introduction

xray-tun2socks

This is a simple script that will route all traffic through xray using tun2socks tun adapter

๐Ÿ“– Pre-Requirements

  1. install xray using command " bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install "
  2. clone the repo into any directory ( git clone https://github.com/iamtrazy/xray-tun2socks )
  3. create a user named tun2socks - ( sudo useradd -m tun2socks )

๐Ÿ“– How to connect

  1. go to the directory xray-tun2socks
  2. edit the config.json file and paste your xray-client configuration ( do-not use dns name , instead use VPS ip address )
  3. set 10808 as socks5 inbound port in xray config
  4. run the tunnel.sh file ( sudo chmod +x tunnel.sh && sudo ./tunnel.sh )
  5. you can stop the script anytime by pressing ctrl+c
  6. after that you can easily excute script by "cd xray-tun2socks && sudo ./tunnel.sh"

screenshots

image image

:octocat: Credits

https://github.com/xjasonlyu/tun2socks

https://github.com/XTLS/Xray-install

xray-tun2socks's People

Contributors

iamtrazy avatar dasunpamod avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.