Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Error setting up TUN/TAP interface #219

Open
Yangjiajiaa opened this issue Aug 24, 2021 · 0 comments
Open

Error setting up TUN/TAP interface #219

Yangjiajiaa opened this issue Aug 24, 2021 · 0 comments

Comments

@Yangjiajiaa
Copy link

Yangjiajiaa commented Aug 24, 2021

hi @ss-abramchuk

Here is the error log

[Extension com.XHGZS.Mango.packetTunnel]: provider set tunnel configuration to (null)

[Error] Error Domain=me.ss-abramchuk.openvpn-adapter.error-domain Code=20 "OpenVPN fatal error occured" UserInfo={NSLocalizedDescription=OpenVPN fatal error occured, me.ss-abramchuk.openvpn-adapter.error-key.message=tun_prop_route_error: tun_builder_reroute_gw for redirect-gateway failed, me.ss-abramchuk.openvpn-adapter.error-key.fatal=true, NSLocalizedFailureReason=Error setting up TUN/TAP interface.}

I read the previous issue and tried to set it,but it doesn't work.
networkSettings always nil
func openVPNAdapter(_ openVPNAdapter: OpenVPNAdapter, configureTunnelWithNetworkSettings networkSettings: NEPacketTunnelNetworkSettings?, completionHandler: @escaping (Error?) -> Void) { networkSettings?.dnsSettings?.matchDomains = [""] NSLog("--------\(String(describing: networkSettings))") setTunnelNetworkSettings(networkSettings, completionHandler: completionHandler) }
How can I fix this?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant