I've been searching the forums for about two days to try to figure this out and found someone who seemed to have a similar issue here: topic15802.html Only problem is that I couldn't see any replies even though it seemed as though there were some based upon the posts. I would appreciate any help!
I've been working on creating a RPi VPN following the tutorial at: http://readwrite.com/2014/04/10/raspber ... b-browsing
Everything seemed to work very well, I installed OpenVPN Connect apps on my iPad and android phone, and then, even the apps both seemed to work well. Only trouble is, when I would input the LAN IP of one of my devices (router for instance) while using public wifi and VPN turned on with my iPad, I'd get the logon screen for the local (public) router instead of mine. Using my phone with cell data, not wifi, I could reach any of my devices on my LAN through their web based set ups.
Curious as to why, I began looking at the logs. Same OpenVPN Connect app logfile appeared on both iPad and my phone:
Code: Select all
2014-12-12 17:30:12 LZO-ASYM init swap=0 asym=0
2014-12-12 17:30:12 EVENT: ASSIGN_IP
2014-12-12 17:30:12 Error parsing IPv4 route: [route] [192.168.1.103] [255.255.255.0] : tun_prop_error: route is not canonical
2014-12-12 17:30:12 Connected via tun
2014-12-12 17:30:12 EVENT: CONNECTED @xxx.xxx.xxx.xxx:1194 (xx.xxx.xxx.xxx) via /UDPv4 on tun/10.8.0.6/
2014-12-12 17:30:12 NET Internet:NotReachable/-R tc---l-
2014-12-12 17:30:12 SetStatus Connected
2014-12-12 17:30:12 NET Internet:ReachableViaWiFi/-R t----l-
Here is my server config file
Code: Select all
local 192.168.1.103
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/DealVPNServer.crt
key /etc/openvpn/easy-rsa/keys/DealVPNServer.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig 10.8.0.1 10.8.0.2
push "route 10.8.0.1 255.255.255.255"
push "route 10.8.0.0 255.255.255.0"
push "route 192.168.1.103 255.255.255.0"
push "dhcp-option DNS 192.168.1.1"
push "redirect-gateway def1"
client-to-client
duplicate-cn
keepalive 10 120
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
cipher AES-128-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log 20
log /var/log/openvpn.log
verb 1