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

About Process IPv4 or IPv6 route #224

Open
VeinGuo opened this issue Sep 28, 2021 · 0 comments
Open

About Process IPv4 or IPv6 route #224

VeinGuo opened this issue Sep 28, 2021 · 0 comments

Comments

@VeinGuo
Copy link

VeinGuo commented Sep 28, 2021

Remove redirect-gateway def1 in the ovpn configuration file
The routing table does not add the forwarding of the gateway by default in OpenVPNAdapter

In macOS, Win and Linux clients, it is implemented to handle IPv4 or IPv6 gateway default route
https://github.com/OpenVPN/openvpn3/blob/67172a582c1598f1e30fbd3a246251d60618416c/openvpn/tun/mac/client/tunsetup.hpp

image
image

NEPacketTunnelNetworkSettings doesn't add it by default.

@VeinGuo VeinGuo changed the title About Process IPv4 or IPv6 redirect-gateway About Process IPv4 or IPv6 route Sep 28, 2021
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