[Solved] Changing the server's tunnel address

This is where we can discuss what we would like to see added or changed in OpenVPN.

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

Locked
loub
OpenVpn Newbie
Posts: 2
Joined: Thu Jan 23, 2014 4:14 pm

[Solved] Changing the server's tunnel address

Post by loub » Thu Jan 23, 2014 4:17 pm

Hello,
The server's tunnel address (in tunnel mode) is currently hardcoded to use .1. It looks like there's no way to override this. Notably, client addresses are configurable on the server. Has there been any discussion/thought to allowing the configuration of server's address?

In looking at the code, the ifconfig configuration syntax seems to almost give the desired result, but the configured ifconfig_local address is always overridden in helper.c. I changed this file locally to check for a configured value before doing the overwrite, and got my desired behavior. (I can send a diff to any who are interested.)

Much thanks,
Lou
Last edited by debbie10t on Thu Feb 13, 2014 6:01 pm, edited 1 time in total.
Reason: [Solved / closed]

loub
OpenVpn Newbie
Posts: 2
Joined: Thu Jan 23, 2014 4:14 pm

Re: Changing the server's tunnel address

Post by loub » Sun Jan 26, 2014 2:11 pm

Thanks! That did the trick.

Locked