[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-users] Server static ip

  • Subject: Re: [Openvpn-users] Server static ip
  • From: Drew Gibson <drew@xxxxxxxxx>
  • Date: Tue, 04 Dec 2007 12:12:07 -0500

Hi Pol,

I am no expert but this is how I understand setting the IP addresses for 
each of my VPN tunnels.

Pol Hallen wrote:
> server

This is the network used for the VPN tunnels

> client-config-dir ccd "route"

Should be split into two lines

client-config-dir ccd         ; sets path to client config file directory
route       ; describes network at client end 
of VPN tunnel (but this IP is the server's IP on the VPN tunnel (see 
"server" directive above)).

To set the IP addresses for the tunnel interfaces:-

in the ccd/clientname file, add

iroute <network at client end + subnet mask>
ifconfig-push <IP of client on tunnel I/F> <IP of server on tunnel I/F>

Drew Gibson

Systems Administrator
OANDA Corporation

Openvpn-users mailing list