Hello Guys,
I have a router with DD-WRT and OpenVPN service configured - both client and server.
Every time i mention overplay, I will be talking about the dd-wrt router, or otherwise, I will make it clear that I am talking about the overplay client in another computer.
So, the the dd-wrt client configuration is setup to connect to Overplay.
It works fine, even with the openvpn server up.
However, the opposite is not true, which means,
every time I start the client, I am not able to connect to the server from a remote computer (using openvpn configured as client).
My router gets this route table when both services are up:
root@vpnserver:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.12.6.69 128.0.0.0 UG 0 0 0 tun1
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 vlan2
10.9.8.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
10.12.6.1 10.12.6.69 255.255.255.255 UGH 0 0 0 tun1
10.12.6.69 0.0.0.0 255.255.255.255 UH 0 0 0 tun1
10.100.200.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
128.0.0.0 10.12.6.69 128.0.0.0 UG 0 0 0 tun1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0
173.193.223.172 192.168.1.254 255.255.255.255 UGH 0 0 0 vlan2
176.67.84.248 192.168.1.254 255.255.255.255 UGH 0 0 0 vlan2
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan2
192.168.1.254 0.0.0.0 255.255.255.255 UH 0 0 0 vlan2
Things are configured more or less as the (ugly) schema below:
--------------
| dd-wrt |
|vpnclient <-|---------------------> overplay
|vpnsrv <-|--------10.9.8.0-----> openvpn client(computer)
-------------
^
|
|
|
v
Internal network
10.100.200.0
This is the server config file:
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
keepalive 10 120
verb 4
mute 5
log-append /var/log/openvpn
writepid /var/log/openvpnd.pid
management 127.0.0.1 5002
management-log-cache 50
mtu-disc yes
topology subnet
client-config-dir /tmp/openvpn/ccd
script-security 2
port 1194
proto udp
cipher bf-cbc
auth sha256
tls-server
ifconfig-pool-persist /tmp/openvpn/ip-pool 86400
client-to-client
fast-io
tun-mtu 1500
server 10.9.8.0 255.255.255.0
dev tun0
push "route 10.100.200.0. 255.255.255.0"
comp-lzo
Do you guys have any suggestions to improve the situation?