Greetings.
I would really appreciate some help with my openvpn configuration.
My network scheme:
Client_A-----Server-----Client_B--Subnet
The goal:
Get a connection between Client_A and every device on Client_B's subnet.
Right now I'm able to ping Client_B, using it's subnet IP, but I can't get any response from other machines.
Here is my server config file:
port 1498
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/serv.crt
key /etc/openvpn/serv.key
dh /etc/openvpn/dh1024.pem
server 10.105.51.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
client-config-dir ccd
client-to-client
push "route 192.168.1.0 255.255.255.0"
comp-lzo
cipher BF-CBC
persist-key
persist-tun
status /etc/openvpn/status_server.log
verb 3
Subnet is in 192.168.1.x range. OpenVPN client is a router with 192.168.1.2 address. The gateway is 192.168.1.1 ASDL modem.
So, I can ping 192.168.1.2 router from Client_A, but nothing else.
I have created a file named Client_B in /openvpn/ccd folder, and put:
iroute 192.168.1.0 255.255.255.0
string into it.
Server log:
OpenVPN CLIENT LIST
Updated,Wed Mar 12 13:57:18 2014
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
Client_B,xx.xx.xx.xx:xx,293083,56345,Wed Mar 12 13:24:57 2014
Client_A,xx.xx.xx.xx:xx,55578,299772,Wed Mar 12 13:23:26 2014
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.105.51.10,Client_B,xx.xx.xx.xx:xx,Wed Mar 12 13:25:10 2014
10.105.51.6,Client_A,xx.xx.xx.xx:xx,Wed Mar 12 13:42:28 2014
192.168.1.0/24,Client_B,xx.xx.xx.xx:xx,Wed Mar 12 13:24:59 2014
GLOBAL STATS
Max bcast/mcast queue length,1
Thanks in advance.