Resently in my Work they changes PPTP VPN to OPENVPN.
I was using PPTP VPN to access Internet from my HOME connection throw my router (Asus N56 with
https://code.google.com/p/rt-n56u firmware) serving a proxy sever (tinyproxy).
But with the change to OPENVPN I lost connection from my computer at work to my router at HOME.
Obviosly I can't change OPENVPN Server parameters.
this is my OPENVPN client config...
client
proto tcp-client
remote 190.144.221.234 1691
resolv-retry infinite
nobind
dev tun0
ca /etc/storage/openvpn/client/ca.crt
tls-auth /etc/storage/openvpn/client/ta.key 1
auth-user-pass secret
persist-key
script-security 2
writepid /var/run/openvpn_cli.pid
up ovpnc.script
down ovpnc.script
### User params:
auth SHA1 # SHA1 160 bit (default)
cipher AES-128-CBC # AES 128 bit
comp-lzo
ns-cert-type server
nice 3
verb 3
mute 10
route 10.176.130.0 255.255.255.0
Connection Log:
Jul 30 08:55:45 RT-N56U: starting OpenVPN client...
Jul 30 08:55:45 openvpn-cli[2263]: OpenVPN 2.3.3 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Apr 12 2014
Jul 30 08:55:45 openvpn-cli[2263]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jul 30 08:55:45 openvpn-cli[2263]: Control Channel Authentication: using '/etc/storage/openvpn/client/ta.key' as a OpenVPN static key file
Jul 30 08:55:45 openvpn-cli[2263]: Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Jul 30 08:55:45 openvpn-cli[2263]: Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Jul 30 08:55:45 openvpn-cli[2263]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Jul 30 08:55:45 openvpn-cli[2264]: nice 3 succeeded
Jul 30 08:55:45 openvpn-cli[2264]: Attempting to establish TCP connection with [AF_INET]190.144.221.234:1691 [nonblock]
Jul 30 08:55:46 openvpn-cli[2264]: TCP connection established with [AF_INET]190.144.221.234:1691
Jul 30 08:55:46 openvpn-cli[2264]: TCPv4_CLIENT link local: [undef]
Jul 30 08:55:46 openvpn-cli[2264]: TCPv4_CLIENT link remote: [AF_INET]190.144.221.234:1691
Jul 30 08:55:46 openvpn-cli[2264]: TLS: Initial packet from [AF_INET]190.144.221.234:1691, sid=7a94dff2 905708a7
Jul 30 08:55:46 openvpn-cli[2264]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Jul 30 08:55:47 openvpn-cli[2264]: VERIFY OK: depth=1, ...
Jul 30 08:55:47 openvpn-cli[2264]: VERIFY OK: nsCertType=SERVER
Jul 30 08:55:47 openvpn-cli[2264]: VERIFY OK: depth=0, C=CO, ST=Cundinamarca, L=Bogota, ...
Jul 30 08:55:47 openvpn-cli[2264]: Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Jul 30 08:55:47 openvpn-cli[2264]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Jul 30 08:55:47 openvpn-cli[2264]: Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Jul 30 08:55:47 openvpn-cli[2264]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Jul 30 08:55:47 openvpn-cli[2264]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Jul 30 08:55:47 openvpn-cli[2264]: [OpenVPN_02] Peer Connection Initiated with [AF_INET]190.144.221.234:1691
Jul 30 08:55:50 openvpn-cli[2264]: SENT CONTROL [OpenVPN_02]: 'PUSH_REQUEST' (status=1)
Jul 30 08:55:50 openvpn-cli[2264]: PUSH: Received control message: 'PUSH_REPLY,route 10.176.38.0 255.255.255.0,topology net30,ping 10,ping-restart 60,ifconfig 10.176.38.66 10.176.38.65'
Jul 30 08:55:50 openvpn-cli[2264]: OPTIONS IMPORT: timers and/or timeouts modified
Jul 30 08:55:50 openvpn-cli[2264]: OPTIONS IMPORT: --ifconfig/up options modified
Jul 30 08:55:50 openvpn-cli[2264]: OPTIONS IMPORT: route options modified
Jul 30 08:55:50 openvpn-cli[2264]: TUN/TAP device tun0 opened
Jul 30 08:55:50 openvpn-cli[2264]: TUN/TAP TX queue length set to 100
Jul 30 08:55:50 openvpn-cli[2264]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Jul 30 08:55:50 openvpn-cli[2264]: /sbin/ifconfig tun0 10.176.38.66 pointopoint 10.176.38.65 mtu 1500
Jul 30 08:55:50 openvpn-cli[2264]: ovpnc.script tun0 1500 1560 10.176.38.66 10.176.38.65 init
Jul 30 08:55:50 openvpn-cli[2264]: /sbin/route add -net 10.176.130.0 netmask 255.255.255.0 gw 10.176.38.65
Jul 30 08:55:50 openvpn-cli[2264]: Initialization Sequence Completed
ifconfig response:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.176.38.66 P-t-P:10.176.38.65 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I can reach my Work computer (IP:10.176.130.106) from HOME router (even from my HOME Desktop Computer (using route command)) but from my WORK computer I can't reach my HOME router.
I discover that (IP:10.176.38.66) is my WORK COMPUTER.
Ping 10.176.38.65 don't response nothing.
How can I get my HOME ROUTER IP so I can continue use the proxy server that is running there from my WORK Computer?
Or How can I reach HOME Router using third party software?. I try SSH Server (In Windows WORK Computer) and with UNIX command ssh -L ... command in router to make a tunnel) but it was Not possible.
I lost every idea and tired of google search.
Thank You all.