What's new

[SOLVED] openvpn server creating tun0 10.201.0.12/7 with ccd file

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

waeking

Regular Contributor
Using merlin's 384.5 on an ac68u

I have created a ccd file with
Code:
ifconfig-push 10.201.0.12 10.201.0.1
on a debian client all connects well. however it is creating a tunnel incorrectly.
Code:
/sbin/ip addr add dev tun0 10.201.0.12/7
Code:
route
10.0.0.0        *               254.0.0.0       U     0      0        0 tun0


The VPN Subnet / Netmask in the advanced server 1 gui is 10.201.0.1 255.255.255.0

When I disable the Manage Client-Specific Options it will pull a normal ip address ie:10.201.0.4/24

Where can I change this to create a tunnel for 10.201.0.12/24?
 
ccd file now has to be as follows
Code:
ifconfig-push 10.201.0.12 255.255.255.0
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top