In the end, Razputin, aren’t we all just dogs playing poker?

  • 1 Post
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle


  • Well, in case anyone is interested, I found a way to workaround my problem.

    I edited ../proton/vpn/backend/linux/networkmanager/protocol/wireguard/wireguard.py. Added mtu property to the Config class, then at the end of _set_wireguard_properties added this:

    # Added by RandomChain - setting the MTU
    logger.info(f'### RandomChain says: setting mtu to {wg_config.ipv4.mtu}')
    wireguard_config.set_property(
        NM.SETTING_WIREGUARD_MTU,
        wg_config.ipv4.mtu
    )
    

    I know it’s ugly and hacky, but it works for me. I should probably open a bug to be able to properly change it from the app settings.