[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
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 10.10.10.0 255.255.255.0
>   

This is the network used for the VPN tunnels

> client-config-dir ccd "route 10.10.10.1 255.255.255.0"
>   

Should be split into two lines

client-config-dir ccd         ; sets path to client config file directory
route 10.10.10.1 255.255.255.0       ; 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
www.oanda.com

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users