tun
π CLI Xray VPN client
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- carbon.json
- carbon.png
- client_mocks.go
- client.go
- client_test.go
- interfaces.go
- metrics.go
- metrics_test.go
- .gitignore
- go.mod
- go.sum
- LICENSE
- main.go
- README.md
# μ€μΉ κ°μ΄λ
git clone https://github.com/goxray/tun
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd tun
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²- APT (Debian/Ubuntu κ³μ΄) Debian/Ubuntu κ³μ΄ 리λ μ€μ κΈ°λ³Έ λ΄μ₯λ ν¨ν€μ§ λ§€λμ μ λλ€.
sudo apt install goxray-cli
APT ν¨ν€μ§ μ μ₯μμμ λ°λ‘ μ€μΉν©λλ€ (Debian/Ubuntu κ³μ΄).
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Go
보ν΅sudo go run . <proto_link>
λ°λ‘ λΉλνμ§ μκ³ λ°λ‘ Go νλ‘κ·Έλ¨μ μ€νν©λλ€.
go build -o goxray_cli .
Go νλ‘κ·Έλ¨μ μ»΄νμΌν΄ μ€ν νμΌμ λ§λλλ€.
env GOOS=darwin GOARCH=amd64 go build -o goxray_cli_darwin_amd64 .
Go νλ‘κ·Έλ¨μ μ»΄νμΌν΄ μ€ν νμΌμ λ§λλλ€.
docker run --platform=linux/arm64 -v=${PWD}:/app --workdir=/app arm64v8/golang:1.24 env GOARCH=arm64 go build -o goxray_cli_linux_arm64 .
λΉλλ μ΄λ―Έμ§λ₯Ό μ€μ 컨ν μ΄λλ‘ μ€νν©λλ€.
docker run --platform=linux/amd64 -v=${PWD}:/app --workdir=/app amd64/golang:1.24 env GOARCH=amd64 go build -o goxray_cli_linux_amd64 .
λΉλλ μ΄λ―Έμ§λ₯Ό μ€μ 컨ν μ΄λλ‘ μ€νν©λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
