RoofTurbo Posted July 12, 2013 Share Posted July 12, 2013 (edited) First off, I love the show. Thanks to all the Hak5 production team. I've been following allong the SSH episodes and have been successfully using Bitvise to tunnel my web browsing when on the road. When I saw episode 1405 I wanted to set up a OpenVPN server using Untangle as a VM. I followed allong Daren's guide and set the server up. Here are the specs of the setup: Host Machine: Windows 7 Ultimate 64-bit VirtualBox version 4.2.16 Untangle 9.41 x32 Tablet: Samsung Galazy Tab 2 7.0 GT-P3113 Android: 4.1.1 (Rooted stock ROM) Router: Netgear WNR-3500L v1 running Tomato ver 1.28 by Shibby I created a test server in Untangle VM and distributed the certificates to my tablet via scp. All the files (testuntangle-ca.crt, testuntangle-testtablet.crt, testuntangle-testtablet.key, testuntangle.conf, testuntangle.ovpn) are located in the internal SD card in a folder called "/untangle-vpn". The router is set to forward port 1194 to the Untangle VM (internal IP 192.168.1.51) I've gotten to the point where I can connect the tablet to the Untangle server from an external IP (i.e. using my phone as a hotspot). The only thing is that whenever I check my IP address on the tablet (www.whatsmyip.org) I keep on getting the same IP that my cell phone carrier assigns me and not my home IP. I've tried rebooting all the listed devices to no avail. What am I missing. Here is the testuntangle.ovpn file contents (all mentions of my home IP have been X'ed out): #AUTOGENERATED BY UNTANGLE DO NOT MODIFY# OpenVPN(v2.0) configuration scriptclientproto udpresolv-retry 20keepalive 10 120cipher AES-128-CBCnobindmute-replay-warningsns-cert-type servercomp-lzoverb 2persist-keypersist-tunverb 1tls-exitdev tun0cert untangle-vpn/testuntangle-testtablet.crtkey untangle-vpn/testuntangle-testtablet.keyca untangle-vpn/testuntangle-ca.crtremote X.X.X.X 1194 Here is the log file from the OpenVPN app on my tablet: 10:09:55:690 -- EVENT: PROFILE_IMPORT_SUCCESS info='X.X.X.X [testuntangle]'10:10:03:709 -- ----OpenVPN Start ----10:10:03:710 -- EVENT: CORE_THREAT_ACTIVE10:10:03:739 -- EVENT: RESOLVE10:10:03:811 -- LZO-ASYM initswap=0 asym=010:10:03:811 -- Contacting X.X.X.X:1194 via UDP10:10:03:812 -- EVENT:WAIT10:10:10:818 -- Connecting to X.X.X.X:1194 (X.X.X.X) via UDPv410:10:10:362 -- EVENT: DISCONNECTED10:10:10:376 -- EVENT: CORE_THREAD_INACTIVE10:10:10:377 -- -----OpenVPN Stop -----10:14:44:521 -- -----OpenVPN Start -----10:14:44:521 -- EVENT:CORE_THREAD_ACTIVE10:14:44:540 -- EVENT:RESOLVE10:14:44:543 -- LZO-ASYM init swap=0 asym=010:14:44:544 -- Contacting X.X.X.X:1194 via UDP10:14:44:545 -- EVENT:WAIT10:14:44:551 -- Connecting to X.X.X.X:1194 (X.X.X.X) via UDPv410:14:46:656 -- EVENT: CONNECTING10:14:46:672 -- Tunnel Options: V4.dev-type tun.link-mtu 1500.proto UDPv4.comp-lzo.cipher AES-128-CBC.auth SHA1.keysize 128.key-method2.tls-client10:14:46:674 -- Peer info:IV_VER=1.0IV_PLAT=androidIV_NCP=1IV_LZO=110:14:48:738 -- VERIFY OK: depth=0cert version:3serial number: 2A:AC:29:81issuer name: CN=ca does not esist. C=US, ST=CA, L=SF, O=TestUntangle, OU=2ce38bec7228fce7, 0x2E=certificateAuthoritysubject name: CN=ca does not esist. C=US, ST=CA, L=SF, O=TestUntangle, OU=2ce38bec7228fce7, 0x2E=certificateAuthorityissued on : 2013-07-12 -3:47:42expires on : 2023-07-10 03:47:42signed using: RSA+SH1RSA key size: 1536 bits10:14:49:851 -- SSL Handshake: TLSv1.0/SSL-EDH-RSA-AES-256-SHA10:14:49:852 -- Session is ACTIVE10:14:50:853 -- EVENT: GET_CONFIG10:14:50:869 -- Sending PUSH_REQUEST to server...10:14:51:042 -- OPTIONS:0 [route] [172.16.0.1]1 [route] [192.168.2.0] [255.255.255.0]2 [route] [ping] [10]3 [route] [ping-restart] [120]4 [ifconfig] [172.16.0.9] [172.16.0.10]10:14:51:043 -- LZO-ASYM init swap=0 asym=010:14:51:051 -- EVENT: ASSIGN_IP10:14:51:099 -- TunPersist: saving tun context:Session Name: X.X.X.XMTU: 1500REmote Address: X.X.X.XTunnel Addresses: 172.16.0.9/30Reroute Gateway: IPv4=0 IPv6=0 flags=[ IPv4]Add Routes:172.16.0.1/32192.168.2.0/24Exclude Route:DNS Servers:Search Domains10:14:51:100 -- Connected via tun10:14:51:107 -- EVENT: CONNECTED info=X.X.X.X:1194 (X.X.X.X) via /UDPv4 on tun/172.16.0.9/' trans=TO_CONNECTED10:18:57:009 -- UDP send error: send: invalid argument10:18:57:032 -- EVENT: PAUSE trans=TO_DISCONNECTED10:19:37:561 -- EVENT: DISCONNECTED10:19:37:586 -- EVENT: CORE_THREAD_INACTIVE10:19:37:594 -- ------OpenVPN Stop----- Any help will be appreciated. Thank you in advance. Edited July 19, 2013 by RoofTurbo Quote Link to comment Share on other sites More sharing options...
RoofTurbo Posted July 19, 2013 Author Share Posted July 19, 2013 I went over to the Untangle Forums and posed my question there. They explained that I had to enable "Full Tunnel". To do this I clicked on the "Settings" button on the OpenVPN "rack", "Advance" Tab, click on the Document icon under the "Edit" column, and ticked the "Full Tunnel" option. Now when I open up www.whatsmyip.org on the tablet it shows my home IP after OpenVPN app is connected to the Untangle server. I hope this helps anyone who may have forgoten this step too. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.