I have two offices in two different buildings. I want create VPN link for this. I read this link http://openvpn.net/index.php/documentation/howto.html#config
But i do not understand the configuration file.
I read some case here: http://www.experts-exchange.com/Software/System_Utilities/Remote_Access/VPN/Q_23711190.html?sfQueryTermInfo=1+openvpn+server.conf+set
but my case liitle bit diiferent:
I am sitting on Head office where i want to creat the VPN server
Linux Box (ubuntu 8.04) with two NICs
Linux Box with two NICs
In both offices I have static IP , I create the (PKI) Succesfully on the Head Office (Server1)
Please Look at the figure that attached with this question and please note That on each eth1 on both Servers The following IPS (10.0.0.5) + (10.0.0.6) will be used as Gateway , My questions Based on the requirement above :
Q.1 Which Method Shall I Use (ethernet bridging) or (routed Ip Tunnel) or (eathernet tunnel)?
Q.2 Shall I Repeat the (PKI) Installation On Server2(Client of Server1)?
Q.3 How Server2 (Client) will understand that (Client1.*) files is belongs to them based on the installation of the (PKI)?
Q.4 I need some one help me on how i set up my configuration file for open VPN On (Serve,Client).Conf ?
Note Please Provide Your Question with detailed about some fields like:
client-config-dir, diff hellman parameters , which parameters shall I leave and modify ,..etc.