Restrict usage of IPs on a more granular level?

Scripts to manage certificates or generate config files

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

Post Reply
Vivicus
OpenVpn Newbie
Posts: 1
Joined: Tue Oct 14, 2014 7:19 pm

Restrict usage of IPs on a more granular level?

Post by Vivicus » Tue Oct 14, 2014 7:24 pm

Hi there,

I could be missing it entirely (My google-fu has failed me, as have my searches on the OVPN site), but I seem to be missing a way to more granularly restrict what IPs are available.

I understand you can use something like...

server 10.50.1.10 255.255.255.0

And that will place the server on 10.50.1.10 (as I understand it- if this is wrong PLEASE correct me), and use the entire 0-254 range available to it. But let's say that I only want it to be able to use from 10-255. Is there a method built in to OVPN to allow this to occur?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Restrict usage of IPs on a more granular level?

Post by Traffic » Wed Oct 15, 2014 12:34 am

Vivicus wrote:I understand you can use something like...

server 10.50.1.10 255.255.255.0

And that will place the server on 10.50.1.10 (as I understand it- if this is wrong PLEASE correct me)
You are wrong ..

See --server in The Manual v23x

Post Reply