Page 1 of 1

push static route

Posted: Tue Jan 30, 2024 9:09 am
by sars_rec
Hi
How can I push this route for OpenVPN connections on SoftEther?

Code: Select all

route xxx.xxx.xxx.xxx 255.255.255.255 net_gateway
Additionally, I want to push more than 30 static routes to clients. Due to limitations in SoftEther's static routing table, is it possible to push this setting via the string DefaultClientOption in the config file?

Re: push static route

Posted: Tue Jan 30, 2024 9:22 am
by solo
Routes can be conveniently specified in the OpenVPN config file itself using the --route option
https://openvpn.net/community-resources ... p-routing/

Re: push static route

Posted: Tue Jan 30, 2024 9:48 am
by sars_rec
If I intended to set every static route on the client config side, I wouldn't have selected "push static route" as the subject's topic. The question is: How can I push the route xxx.xxx.xxx.xxx 255.255.255.255 net_gateway via SoftEther?

Re: push static route

Posted: Tue Jan 30, 2024 10:17 am
by solo
But you inevitably do intend to generate client's config anyway. Entering the routes there is an optimal solution considering the SoftEther's limitations. Alternatively, go tap/L2 and use other, full-featured DHCP server.