sagernet / v2box Goto Github PK
View Code? Open in Web Editor NEWMigrate your v2ray configuration into sing-box
Migrate your v2ray configuration into sing-box
package github.com/sagernet/v2box/cmd/v2box
imports github.com/sagernet/v2box/types/xrayjson
imports github.com/xtls/xray-core/infra/conf
imports github.com/xtls/xray-core/proxy/wireguard
imports gvisor.dev/gvisor/pkg/bufferv2
imports gvisor.dev/gvisor/pkg/atomicbitops
imports gvisor.dev/gvisor/pkg/state
imports gvisor.dev/gvisor/pkg/state/wire
imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /home/runner/go/pkg/mod/gvisor.dev/[email protected]/pkg/gohacks
Error: Process completed with exit code 1.
I am trying from weeks to generate own server for singbox but am unable to do that. I need help here when i use v2box to convert v2ray to singbox it says ws migration not supported message.
Suggest adding a VPN Kill Switch
as a security feature.
VPN Kill Switch
Once the VPN is turned on, prevent leaks by blocking traffic from going outside the VPN, including during connection loss.
Advanced Kill Switch
Prevent leaks by blocking any traffic from going outside the VPN, even when the VPN is turned off.
App Kill Switch
Applications to kill if a VPN connection unexpectedly drops.
๐ Google Chrome
๐ Whatsapp
๐ Bank
Add more applications
This would automatically disconnect the device from the internet if the VPN connection is lost, dropping out and reconnecting when the VPN connection is restored. Implementing this feature protects the user's public IP address from being accidentally exposed and prevents any browsing data from being sent over an unsecured internet connection.
This is particularly crucial when users are browsing sensitive domains such as online banking or trading.
Additionally, it helps avoid the IP being blocked by these types of services in case of switching IP due to the connection dropout.
Many thanks in advance!
i am trying to use custom geo converted with v2box, i want to use geoip telegram and geoip doh but the log from sing-box won't load it.
+0700 2023-04-29 16:29:14 INFO router: loaded geoip database: 0 codes
+0700 2023-04-29 16:29:14 INFO router: loaded geosite database: 1403 codes
i have try sing-box-geo it's load normally i guess, but geoip doh somehow aren't works for blocking lists IP address DoH/DoQ
+0700 2023-04-29 16:31:20 INFO router: loaded geoip database: 261 codes
+0700 2023-04-29 16:31:24 INFO router: loaded geosite database: 1403 codes
does sing-box support only 2 letter country code + private?
input config includes only inbound, outbound and routing objects.
Command:
./v2box migrate -c input.json > output.json
Error:
panic: proto: file "common/log/log.proto" is already registered
previously from: "github.com/v2fly/v2ray-core/v5/common/log"
currently from: "github.com/xtls/xray-core/common/log"
See https://protobuf.dev/reference/go/faq#namespace-conflict
goroutine 1 [running]:
google.golang.org/protobuf/reflect/protoregistry.glob..func1({0x1a70700?, 0xc000460fc0?}, {0x1a70700?, 0xc000461000})
/home/admin/go/pkg/mod/google.golang.org/[email protected]/reflect/protoregistry/registry.go:56 +0x1ee
google.golang.org/protobuf/reflect/protoregistry.(*Files).RegisterFile(0xc000012180, {0x1a96a88?, 0xc00046da40?})
/home/admin/go/pkg/mod/google.golang.org/[email protected]/reflect/protoregistry/registry.go:130 +0x39f
google.golang.org/protobuf/internal/filedesc.Builder.Build({{0x1496fb2, 0x24}, {0x2596d20, 0xc6, 0xc6}, 0x1, 0x0, 0x0, 0x0, {0x1a78d90, ...}, ...})
/home/admin/go/pkg/mod/google.golang.org/[email protected]/internal/filedesc/build.go:112 +0x1d6
google.golang.org/protobuf/internal/filetype.Builder.Build({{{0x1496fb2, 0x24}, {0x2596d20, 0xc6, 0xc6}, 0x1, 0x0, 0x0, 0x0, {0x0, ...}, ...}, ...})
/home/admin/go/pkg/mod/google.golang.org/[email protected]/internal/filetype/build.go:138 +0x1b8
github.com/xtls/xray-core/common/log.file_common_log_log_proto_init()
/home/admin/go/pkg/mod/github.com/xtls/[email protected]/common/log/log.pb.go:138 +0x198
github.com/xtls/xray-core/common/log.init.0()
/home/admin/go/pkg/mod/github.com/xtls/[email protected]/common/log/log.pb.go:120 +0x17
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.