push static route

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
sars_rec
Posts: 11
Joined: Sun Dec 11, 2022 6:46 pm

push static route

Post by sars_rec » Tue Jan 30, 2024 9:09 am

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?

solo
Posts: 1284
Joined: Sun Feb 14, 2021 10:31 am

Re: push static route

Post by solo » Tue Jan 30, 2024 9:22 am

Routes can be conveniently specified in the OpenVPN config file itself using the --route option
https://openvpn.net/community-resources ... p-routing/

sars_rec
Posts: 11
Joined: Sun Dec 11, 2022 6:46 pm

Re: push static route

Post by sars_rec » Tue Jan 30, 2024 9:48 am

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?

solo
Posts: 1284
Joined: Sun Feb 14, 2021 10:31 am

Re: push static route

Post by solo » Tue Jan 30, 2024 10:17 am

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.

Post Reply