How fixed ip client

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
odylive
OpenVpn Newbie
Posts: 1
Joined: Thu Oct 28, 2010 1:57 pm

How fixed ip client

Post by odylive » Fri Nov 05, 2010 12:39 am

windows system,,How fixed ip client?? :?:

examples:Server IP:192.168.10.1
cline01,Permanent IP:192.168.10.2
cline02,Permanent IP:192.168.10.3

User avatar
krzee
Forum Team
Posts: 729
Joined: Fri Aug 29, 2008 5:42 pm

Re: How fixed ip client

Post by krzee » Thu Nov 11, 2010 8:23 pm

[12:02] <vpnHelper> krzee: "static" is (#1) use --ifconfig-push in a ccd entry for a static ip for the vpn client
example in net30 (default): ifconfig-push 10.8.0.5 10.8.0.6
example in topology subnet or tap ifconfig-push 10.8.0.5 255.255.255.0

[12:22] <vpnHelper> krzee: "ccd" is entries that are basically included into server.conf, but only for the specified client based on common-name. use --client-config-dir <dir> to enable it, then put the config options for the client in <dir>/common-name

Post Reply