Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IV_HWADDR Setting Issue in Linux OpenVPN Client #655

Open
pdj1010 opened this issue Dec 13, 2024 · 1 comment
Open

IV_HWADDR Setting Issue in Linux OpenVPN Client #655

pdj1010 opened this issue Dec 13, 2024 · 1 comment

Comments

@pdj1010
Copy link

pdj1010 commented Dec 13, 2024

In a Linux environment, openvpn 2.6.12

the OpenVPN client obtains the best gateway and interface name. However, when setting IV_HWADDR, it might not be set to the MAC of that interface. Is there a reason why, even after determining the best gateway and interface, it just selects any interface within the same network as the best gateway?

In the case of Windows, it appears that the MAC address of the interface with the lowest metric is used.

@pdj1010
Copy link
Author

pdj1010 commented Dec 13, 2024

route.c

#elif defined(TARGET_LINUX)

void
get_default_gateway(struct route_gateway_info *rgi, openvpn_net_ctx_t *ctx)

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

No branches or pull requests

1 participant