Hi,
i would like to use OpenVpn for connecting to my small office from home.
Following scenario:
Office:
T-Online A-DSL -> FritzBox 7390 -> Lan Port -> Wan Port TP Link TL WR 842 ND (with OpenWrt and OpenVpn 2.2)
The WR 842ND should act as OpenVpn server.
FritzBox 7390 lan: 192.168.178.0 / 24
WanPort TPLink WR 1043: 192.168.178.254
Home
Unitymedia Ipv6 Dual-Stack-Lite -> FritzBox 6320 -> Lan Port -> WanPort TP Link WR 1043ND (also with OpenWrt and OpenVpn 2.2)
This device should work as OpenVpn client.
FritzBox 6320 lan: 192.168.180 / 24
WanPort TPLink WR 1043: 192.168.180.254
Here is my server-config
option enabled 1
option port 1194
option proto udp
option dev tun
option ca /etc/openvpn/ca.crt
option cert /etc/openvpn/server.crt
option key /etc/openvpn/server.key
option dh /etc/openvpn/dh1024.pem
option server "10.8.0.0 255.255.255.0"
route 192.168.178.0 255.255.255.0 // Network of the FritzBox 7390
option keepalive "10 120"
option comp_lzo 1
option persist_key 1
option persist_tun 1
option status /tmp/openvpn-status.log
option verb 3
When i try a test connection from my IPhone with the OpenVpn App everthing works.
But i want to set up the WR 1043 ND as OpenVpn Client so that every computer behind this device can use the Vpn tunnel.
Does anybody know why i cant ping the vpn server through the tunnel?
On the Iphone it works, but on the Wr 1043 ND the vpn connection is initialized but i think there are routing problems.
What routes do i have to add on my devices?
Do i have to setup routes on the two Fritz boxes?
Thanks for your help
Regards
Dominik
e.g. Sorry for my bad english 😉