Skip to contentSkip to conversation

route_net/vpn_gateway not set if server is manually expanded and topology is subnet

Openvpn-devel debbie10t 1 participant 1 message Apr 20, 2016 2 messages not in the archive

lore
Share & tools
lore

debbie10t

author
#2 lore raw
In reply to a message not in the archive

Hi,

Quoted 14 lines · Jan Just Keijser

Hi,

Quoted 10 lines · On 14/04/16 00:12, debbie10t wrote:

Hi,

*On the server*

When --topology subnet is used *only* $redirect_gateway is held in env.

When --topology net30 is used the following are held in env:

    o  $redirect_gateway
    o  $route_net_gateway
    o  $route_vpn_gateway
Quoted 7 lines

your configs are not the same. add

                   route 10.105.101.0 255.255.255.0

to the "topology subnet" variant and re-run - the env vars will be set (as they are set only due to the 'route' statement).

Thanks JJK this does remedy the problem .. nice use of parenthesis ;)

https://community.openvpn.net/openvpn/ticket/676#ticket

Kind regards