saifurab
asked on
OpenVPN configuration
Dear Experts,
I have two offices in two different cities. 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 am sitting on Head office where i want to creat the VPN server
Head office
Linux Box with two NICs
eth1: 124.x.x.x/29 (Public Interface with live IP)
eth0: 192.168.0.80/24
Sub-Office
Linux Box with two NICs
eth1: 192.168.1.254/24 (Public Interface with private IP)
eth0: 192.168.2.254/24
In sub office i do not have static IP but i am using dynamic DNS. i am using no-ip.com for this purpose.
Can some one help how i set up my configuration file for open VPN
Regards
Saif ur Rab
I have two offices in two different cities. 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 am sitting on Head office where i want to creat the VPN server
Head office
Linux Box with two NICs
eth1: 124.x.x.x/29 (Public Interface with live IP)
eth0: 192.168.0.80/24
Sub-Office
Linux Box with two NICs
eth1: 192.168.1.254/24 (Public Interface with private IP)
eth0: 192.168.2.254/24
In sub office i do not have static IP but i am using dynamic DNS. i am using no-ip.com for this purpose.
Can some one help how i set up my configuration file for open VPN
Regards
Saif ur Rab
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It was just example, you can you other network here, but not existed in the your networks.
But, the openvpn can work in2 modes, as router and as bridge.
the 10.4.6.0/24 network is the network between the main office network and the sub office networks in openvpn route-configuration. So, you will have to add
push "redirect-gateway def1"
into the openvpn server's configuration.
But, the openvpn can work in2 modes, as router and as bridge.
the 10.4.6.0/24 network is the network between the main office network and the sub office networks in openvpn route-configuration. So, you will have to add
push "redirect-gateway def1"
into the openvpn server's configuration.
Dear Syntomax
Still your answer Unclear Please Specify your answer on the last Post , it Is very hard to understand?
Still your answer Unclear Please Specify your answer on the last Post , it Is very hard to understand?
Dear Syntomax
Please Support Your Answer (If You Want) with soem example : e.g.: Figure , NW Design and Post server , client OPENVPN code.
Please Support Your Answer (If You Want) with soem example : e.g.: Figure , NW Design and Post server , client OPENVPN code.
ASKER
Thank you very much for your help. I have some problem in understanding the
server 10.4.6.0. 255.255.255.0
The clinet side has around 25 computers, how they will communicate to my network at head office and the clinet side network already running there is 192.168.2.x/24. do i need to chage the scheme from 192.168/.2.x/24 to 10.4.6.0/24
The question may look foolish to you but think that i am new learner
Regards
Saif ur Rab