OpenVPN / openvpn

OpenVPN is an open source VPN daemon
http://openvpn.net
Other
10.75k stars 2.99k forks source link

Openvpn client unable to adjust routes on Haiku #458

Closed kallisti5 closed 10 months ago

kallisti5 commented 10 months ago

Describe the bug OpenVPN is unable to adjust routes on Haiku and needs that knowledge added.

NOTE: unable to redirect IPv4 default gatgeway -- Cannot read current default gateway from system

To Reproduce openvpn --config whatever.conf

Expected behavior OpenVPN to be able to read and adjust routes on Haiku

Version information (please complete the following information):

Additional context Haiku is about to receive proper tun device support, thus allowing openvpn to function :partying_face:

I'm mostly opening this for tracking. Someone from Haiku should submit a PR.

kallisti5 commented 10 months ago

I completely posted this too soon. I didn't realize our work wasn't upstream yet. Closing for now :wink:

cron2 commented 10 months ago

This does sound exciting :-) - so, for a complete port, you need to add a haiku-specific get_default_gateway() implementation (route.c), which will make automatic route redirection work.

When you send your patches, please rebase them on "master". New features of larger scale are not merged in a release branch (like, 2.6.x).