Hi verybody!
Something i have to say first:
- My english is not good
- I'm an amateur, it's fisrt time i use openvpn
As you see, i can't understand some tutorial except they clearly and easy to follow. Can someone spend some minute to show me what i have to do on my network. Thank in advance!
I have two network, one of them has subnets like this:
side A (internet):
143.25.1.0 / 24
laptop which installed openvpn client:
- Windows 7
- 143.25.1.100 / 24
side B (local) has 4 subnets:
subnet 1: 172.16.1.0 / 255.255.255.224 (gateway 172.16.1.1)
subnet 2: 172.16.1.32 / 255.255.255.224 (gateway 172.16.1.33)
subnet 3: 172.16.1.64 / 255.255.255.192 (gateway 172.16.1.65)
subnet 4: 172.16.1.128 / 255.255.255.128 (gateway 172.16.1.129)
My openvpn running on debian machine has IP address: 172.16.1.34 on subnet 2
my openvpn server config:
port 1194
proto tcp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/hostsrv2.crt
key /etc/openvpn/hostsrv2.key
dh /etc/openvpn/dh1024.pem
plugin /usr/lib/openvpn/openvpn-auth-pam.so login
server 172.16.2.0 255.255.255.0
verb 3
topology subnet
Everything work fine
On debian machine, when i start the openvpn service, new network card appear named tun0 and has IP address: 172.16.2.1 / 24
I can connect to my VPN server, then client has IP address: 172.16.2.2
But i can't ping 172.16.2.1 from my client.
I don't know how to let my client access to resource on 4 subnet at side B. I don't understand push and route option.
Please let me know what i have to do to make my openvpn clients can access resource on 4 subnets at side B
It's worldskill 2011 exam. You can read full exam here
https://docs.google.com/file/d/0B7fZp8slCSu2QTV1Rk5XdEhTVTg/edit?usp=sharing
Thank you very much!