Routing question; Multiple "iroute" lines in a single CCD file?

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
maxburn
OpenVPN Power User
Posts: 65
Joined: Mon Dec 12, 2016 6:07 pm

Routing question; Multiple "iroute" lines in a single CCD file?

Post by maxburn » Mon Aug 15, 2022 4:33 pm

I've been using this configuration in many sites and it has worked great.

Now for the first time I am facing a client that needs to be able to reach more than just the one LAN subnet under a VPN router, from the OpenVPN server. Is this possible?

Edit; now I'm wondering if the push route is even necessary, it will only ever be this one client attached.

Image

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Routing question; Multiple "iroute" lines in a single CCD file?

Post by TinCanTech » Mon Aug 15, 2022 5:12 pm

Multiple --iroute for a single client is standard networking, for a client which is a gateway to multiple remote networks.

maxburn
OpenVPN Power User
Posts: 65
Joined: Mon Dec 12, 2016 6:07 pm

Re: Routing question; Multiple "iroute" lines in a single CCD file?

Post by maxburn » Mon Aug 15, 2022 6:39 pm

Thank you, never done that one before.

Post Reply