[fix]autoIptables
This commit is contained in:
parent
e2a0437685
commit
ebc3f36236
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue