selective ips from server ip range

Need help configuring your VPN? Just post here and you'll get that help.

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
sunilmh
OpenVPN User
Posts: 31
Joined: Tue May 24, 2011 6:32 am

selective ips from server ip range

Post by sunilmh » Mon Jul 04, 2011 6:35 pm

Hi,

Is it possible to select only few ips from the server directive range ?
Following is the my server.conf ip range

Code: Select all

server 10.8.0.0 255.255.255.0
How to make ip range only between 10.8.0.20 and 10.8.0.80 ?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: selective ips from server ip range

Post by maikcat » Tue Jul 05, 2011 7:42 am

hi there,

use a different subnet mask f.e server 10.8.0.0 255.255.255.128 gives you from 1 to 127,
you cant use whatever ips you want though...

Michael
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

sunilmh
OpenVPN User
Posts: 31
Joined: Tue May 24, 2011 6:32 am

Re: selective ips from server ip range

Post by sunilmh » Tue Jul 05, 2011 9:27 am

Thanks Michael.

It's like we have to use a continuous range of ips with a subnet match right ?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: selective ips from server ip range

Post by maikcat » Tue Jul 05, 2011 9:29 am

yeap...

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply