0

I have set an openvpn server on my dd-wrt router(Netgear WNDR3700 V4) and installed the apps for both iOS and Android as client. The vpn connection can be established as following:

iOS/Android client <=(internet)=>openvpn server(192.168.2.1)/router(192.168.1.1)<===>localhost

After the connection is established, the localhost can reach the iOS/Android clients but not in the opposite direction.

I use the following conf for the server, just have the feeling that iOS/Android client has no idea how to route the packets to the vpngate...

Any idea? Thanks!

mode server
dev tun0

proto udp4
port 1194
tls-server

daemon
keepalive 10 120
verb 6
mute 3
syslog
writepid /var/run/openvpnd.pid

script-security 2
cipher aes-128-cbc
auth sha256

server 192.168.2.0 255.255.255.0
topology subnet
push "route 192.168.1.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"

tun-mtu 1500
mtu-disc yes
comp-lzo adaptive                       
fast-io                                 
client-to-client

ca
...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.