Skip to content

Conversation

@mickaelifs
Copy link

@mickaelifs mickaelifs commented Jan 25, 2022

This patch propose to use SOCKET_ROUTE on apple systems (as they are *BSD descendant that should be OK). It also allows nat-pmp to work correctly under MacOS platforms with VPNs that install a /1 route on the system, such a openvpn (see the def1 option of https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/). It also works the same way without VPN.

@mickaelifs
Copy link
Author

Hello @ckerr would you mind have a look that this PR ? I noticed that nat-pmp code to get the default gateway was not working propery under MacOS. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant