Code: Select all
dev tun
proto udp
ca {removed .. presumably}
cert {removed .. presumably}
key {removed .. presumably}
dh {removed .. presumably}
server 192.168.3.0 255.255.255.0
tls-server # Note: Not required for mode server
route 192.168.2.0 255.255.255.0 eth0 # Note: RESOLVE: Cannot resolve host address: eth0: No such host is known.
push "topology subnet"
push "route 192.168.3.0 255.255.255.0" # Note: Not required for mode server
connects to through out Windows 2012 the port is forwarded to a local Linux machine at 192.168.2.211.
Android successfully authenticates and receives an IP address 192.168.3.6.
Here's the Server's ifconfig
tun0: 192.168.3.1
Routing table on server:
Code: Select all
192.168.2.0 server.domain.local 0.0.0.0 (default gw)
192.168.3.0 * 255.255.255.0
192.168.3.2 * 255.255.255.0
192.168.3.6 > 192.168.3.1: ICMP echo request, id 7, seq 1, length 64
But, the Android client doesn't report the ICMP request are replying and never shows a response.
I've enabled IP forwarding through sysctl.conf and ip_foward
Also, have added iptables -t nat MASQUERADE rules for 192.168.3.0 subnet.