i have an openvpn server with white IP
i have 2 clients
client1(10.0.36.10) it is me
client2(10.0.36.14) is router(192.168.50.254) with openwrt and openvpn
router is connected to internet and via openvpn client to openvp server
in place where is router i have an adsl modem with dynamic ip(10.111.3.123) on wan
i want to have access to server(10.22.0.4) that i connect via adsl modem from client1
now i can ping router with openvpn
i can ping adsl modem lan ip(192.168.50.1)
i can ping adsl modem wan ip(10.111.3.123)
but i can`t ping modem wan gateway(10.111.0.1) and ip of server(10.22.0.4) i want connect to
client1 ccd
Code: Select all
ifconfig-push 10.0.36.10 10.0.36.9
push "route 10.0.36.0 255.255.255.0"
push "route 192.168.50.0 255.255.255.0"
push "route 10.22.0.0 255.255.255.0"
push "route 10.111.0.0 255.255.0.0"
Code: Select all
#
ifconfig-push 10.0.36.14 10.0.36.13
push "route 10.0.36.0 255.255.255.0"
iroute 192.168.50.0 255.255.255.0
iroute 10.22.0.0 255.255.255.0
iroute 10.111.0.0 255.255.0.0
Code: Select all
10.0.36.0 255.255.255.0 gateway 192.168.50.254
Please help me