Skip to content

Support for adding a specified route #371

Description

@Ape

I would like to add a custom route on the ppp interface after the VPN connection has been established. I can currently manually run sudo ip route add 1.2.3.4/32 via 10.20.30.40 dev ppp0 to do this. But it would be a lot easier if openfortivpn did that for me when the interface is created and/or there is a working VPN connection. This way it wouldn't require manual intervention everytime my systems boots (and starts openfortivpn) or after VPN reconnect.

I would suggest something like --add-route 1.2.3.4/32 which would automatically determine the correct gateway address and interface name from the VPN connection.

I would like to avoid --set-routes and --half-internet-routes because I have other networking and VPN connections on the same system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions