[fix]autoIptables

This commit is contained in:
gVisor bot 2021-12-27 03:29:14 +08:00
parent 0ecc9f4941
commit e97e562eb1
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ var (
const (
PROXY_FWMARK = "0x2d0"
PROXY_ROUTE_TABLE = "0x2d0"
USERNAME = "Clash.Meta"
USERNAME = "root"
)
func SetTProxyLinuxIPTables(ifname string, tport int, dport int) error {

View file

@ -38,7 +38,7 @@ type tunLinux struct {
// OpenTunDevice return a TunDevice according a URL
func OpenTunDevice(tunAddress string, autoRoute bool) (TunDevice, error) {
deviceURL, _ := url.Parse("dev://utun")
deviceURL, _ := url.Parse("dev://meta")
mtu, _ := strconv.ParseInt(deviceURL.Query().Get("mtu"), 0, 32)
t := &tunLinux{