net_gateway not working with Sequoia and client 3.5.x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alvils
    Junior Member
    • Nov 2024
    • 2

    net_gateway not working with Sequoia and client 3.5.x

    Hi there!

    I have a setup that, generally, pushes all traffic through the VPN tunnel, yet in order to conserve the server resources, pushes some net_gateway routes to the client that allow to "bypass" the VPN tunnel for specific traffic. The server is the open source OpenVPN, version 2.6.12 in this case.

    In the particular case, client configuration file has a line
    Code:
    redirect-gateway def1
    And the server configuration file has lines
    Code:
    # Exclusion routes for Google Meet
    push "route 74.125.250.0 255.255.255.0 net_gateway"
    push "route 142.250.82.0 255.255.255.0 net_gateway"
    This allows all the traffic to pass through the VPN, sans Google Meet video calls.

    This works fine on e.g. Windows version of the client, with the latest OpenVPN Connect client, 3.5.1.

    On macOS Sequoia (15.0.1 and also 15.1.1), with client version 3.5.1, this error shows up:

    Click image for larger version  Name:	Screenshot 2024-11-26 at 14.22.48.png Views:	0 Size:	37.0 KB ID:	22322

    In the client logs, there are lines:
    Code:
    POST unix://[/var/run/agent_ovpnconnect.sock]/tun-setup : 400 Bad Request
    route_gateway_error: GDG: problem writing to routing socket: -1 errno: 3 msg: No such process
    Downgrading the client to version 3.4.9 fixes the issue for now.

    So, in order to reproduce:
    • server has to push routes with net_gateway
    • macOS Sequoia
    • OpenVPN Connect 3.5.1 won't work
    • OpenVPN Connect 3.4.9 will work fine
    Is this something that can be fixed by tinkering with macOS itself or is this an actual issue with OpenVPN Connect?
  • JosephS
    Junior Member
    • Apr 2024
    • 18

    #2
    Hello Alvils,

    This is a known issue with Connect App version 3.5.1 on macOS.
    The fix for this issue will be released in the upcoming 3.6.0 Connect App.

    With Regards,
    JosephS

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎