From plug-discuss-bounces@lists.phxlinux.org Thu Sep 20 02:49:51 2018 Return-Path: X-Original-To: lurker@lists.phxlinux.org Delivered-To: lurker@lists.phxlinux.org Received: from phxlinux.org (localhost [127.0.0.1]) by phxlinux.org (Postfix) with ESMTP id 2FC1932A0008; Thu, 20 Sep 2018 02:49:51 -0700 (MST) X-Original-To: plug-discuss@lists.phxlinux.org Delivered-To: plug-discuss@lists.phxlinux.org Received: from resqmta-ch2-04v.sys.comcast.net (resqmta-ch2-04v.sys.comcast.net [69.252.207.36]) by phxlinux.org (Postfix) with ESMTPS id 2298532A0007 for ; Thu, 20 Sep 2018 02:49:49 -0700 (MST) Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102]) by resqmta-ch2-04v.sys.comcast.net with ESMTP id 2va6gsd72lHCv2vamgPluU; Thu, 20 Sep 2018 09:49:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1537436988; bh=jrI/ZEqkaw70AUaqsYhHvNyCyDwlgt+x0tQtEwlKV7w=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=OJpwgWnwxu5Jphf4T8H30lQE5vioS7T9cMXvpX8XkMZWkv1HpwZVHpm/N9AU1hgHl nCvw7qWlqwvRtP3f6V7+Fhyr1ierKYJqC63Ep1TIl8o9Or2b5IFEXVeGEoCMYMzBBg rw2fM5pJGQXP2ukmXZLUyFozIV+vqFER0PjERTzUA6R3UVkDnjpTzPZy9VQIvN/CeN qq5ggje7grHOuCKev8Y1E6aiG/mPr/7TSl2jAYv/RfLinLkK/+kwl8Hy9b9rCb/HxG i/SOPWGqizOCL91ITJD2sKIZ7cAi/HYHYwN5l/HeFIdiRFHCA25PO8WXz7lTkPyuPB mqCV2ffWilwRQ== Received: from [IPv6:2601:843:101:6c0d:8c12:4176:e31b:44ff] ([IPv6:2601:843:101:6c0d:8c12:4176:e31b:44ff]) by resomta-ch2-06v.sys.comcast.net with ESMTPSA id 2valgklDfVExX2valgG7QO; Thu, 20 Sep 2018 09:49:48 +0000 Subject: Re: VPN on virtual machine To: plug-discuss@lists.phxlinux.org References: <2846fffd-407a-6eb9-03e6-097aa468f430@comcast.net> From: Jim Message-ID: <59667da9-1a3a-d595-2209-0802f171d6ed@comcast.net> Date: Thu, 20 Sep 2018 02:49:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CMAE-Envelope: MS4wfPg1j96ZxHQWxwheQgXCMAWzV4IX+CD5apsfTz5QQs4kau/nqhe/wkBTwQAydTwtqKm+qeN+LZsrHFSF9424MPk5oqSRtyD+aK9x4f2XSm9+YCwBC+9a 7WJ8g68KZt/5TnfX2BRlQHEfT6cWBsuaiYiyeDUr4iJWKWKcGLbyaSCocWoeAJduQk8jGPJurKFAF5dh9lmJXymn1hQfXP6lzzrOIiEgFH1hAQHqV1MJPmZA ZyaZxmomfZ5MMDQt9qysMXjSN46QMfOLuxGPUK7gkAb0p8bSr33JX8u7UclyubEV X-BeenThere: plug-discuss@lists.phxlinux.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Main PLUG discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Main PLUG discussion list Content-Type: multipart/mixed; boundary="===============1388784238919470947==" Errors-To: plug-discuss-bounces@lists.phxlinux.org Sender: "PLUG-discuss" This is a multi-part message in MIME format. --===============1388784238919470947== Content-Type: multipart/alternative; boundary="------------0A551D4FCBBB94EA4C2BE789" Content-Language: en-US This is a multi-part message in MIME format. --------------0A551D4FCBBB94EA4C2BE789 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Thanks for the advice.  I'll have to do some more reading to understand all that well enough to try it myself, and get some cash together before I buy a computer that will support all that. I have a Dell 32 bit dinosaur (wallace kubuntu 14) and this computer (ladmo kubuntu 18 64 bit).  I have apache2 on wallace so I can share the occasional file with friends.  Instead of taking a short sound clip and making a video out of it so I can share it with friends on facebook, I just put it on wallace and give them the url.  I also keep copies of my pictures and music collection on wallace.  So I have /var/www/html on wallace and the user account on wallace mounted on ladmo via nfs.   I also have an ssh server on wallace so I can access it from ladmo and so I can transfer files between my phone and wallace via sftp.  I had wallace connected to the router via the 100 mbit nic built into it until Saturday when I found a gigabit nic in the cabinet where I keep boxes of parts. Good luck with your setup Michael.  I would suspect nobody knows what you're doing online except the CIA. :-) On 09/19/2018 10:34 PM, Michael Butash wrote: > I use transmission-daemon as a server on the vm with the vpn, and > connect to the server on port 9091 with a transmission-remote client > on your local lan workstation.  The vpn should override your default > routing, and make sure to kill ipv6 as a sysctl too.  I setup a dns > for the local server ip running the transmission server, and make it > available on a bridged interface to the rest of my lan.  I use > stickshift on my phone to manage/view them then.  I usually run squid > socks proxy on it too, using a proxy switcher on chrome as an > extension to flip between on and off use out that connection as well. > > For extra credit, I setup unbound to do encrypted dns to cloudflare on > it via some google tutorials, and I use zerotier as a link all my > servers and clients into a local-ish lan vpn that I can access on > cell, work, public wifi, wherever really.  Check them out at > zerotier.com . > > -mb > > On Tue, Sep 18, 2018 at 3:56 PM Jim > wrote: > > I finally got the vpn working, but I'm having trouble with > bittorrent.  So far I've tried Deluge. The next time I have time > to mess with it, I can try another bittorrent client.  Michael, > which one do you use? > > > On 09/18/2018 11:35 AM, Michael Butash wrote: >> How are you configuring the openvpn connection? Using PIA vpn, >> they give you an openvpn file to connect with, or at least did >> last I set it up, and otherwise should just need the package >> dependencies installed with openvpn. >> >> I'd say launch openvpn via the cli in debug to see what errors >> it's giving with the ovpn file. >> >> Bridge or nat should be irrelevant, I've run mine both ways.  You >> should only need ports 1194 out to your VPN provider, you don't >> need to port forward one back, and actually recommend you do NOT >> unless you're wanting an openvpn server yourself to connect back >> to.  Mine works fine out via NAT. >> >> -mb >> >> On Mon, Sep 17, 2018 at 10:57 PM Jim > > wrote: >> >> I decided to try a virtual machine for bittorrent.  The host >> machine >> runs kubuntu 14.04 with 4GB RAM. I've installed virtualbox >> 5.2.18.  The >> virtual machine is running lubuntu 18 and has 1GB RAM.  The >> problem is >> with the vpn.  I can't get openvpn or pptp to work.  I >> configured them >> using the same instructions I did on the host machine.  When >> I try to >> start a VPN connction(openvpn or pptp)  on the guest machine, >> the icon >> appears to show it's trying to connect, then it just stops >> without >> offering any error message.  In  Virtualbox's settings for >> the guest >> machine under network, I chose attached to NAT. >> >> Any ideas what I should do different? >> >> thanks >> > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > > > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss --------------0A551D4FCBBB94EA4C2BE789 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Thanks for the advice.  I'll have to do some more reading to understand all that well enough to try it myself, and get some cash together before I buy a computer that will support all that.

I have a Dell 32 bit dinosaur (wallace kubuntu 14) and this computer (ladmo kubuntu 18 64 bit).  I have apache2 on wallace so I can share the occasional file with friends.  Instead of taking a short sound clip and making a video out of it so I can share it with friends on facebook, I just put it on wallace and give them the url.  I also keep copies of my pictures and music collection on wallace.  So I have /var/www/html on wallace and the user account on wallace mounted on ladmo via nfs.   I also have an ssh server on wallace so I can access it from ladmo and so I can transfer files between my phone and wallace via sftp.  I had wallace connected to the router via the 100 mbit nic built into it until Saturday when I found a gigabit nic in the cabinet where I keep boxes of parts.

Good luck with your setup Michael.  I would suspect nobody knows what you're doing online except the CIA. :-)


On 09/19/2018 10:34 PM, Michael Butash wrote:
I use transmission-daemon as a server on the vm with the vpn, and connect to the server on port 9091 with a transmission-remote client on your local lan workstation.  The vpn should override your default routing, and make sure to kill ipv6 as a sysctl too.  I setup a dns for the local server ip running the transmission server, and make it available on a bridged interface to the rest of my lan.  I use stickshift on my phone to manage/view them then.  I usually run squid socks proxy on it too, using a proxy switcher on chrome as an extension to flip between on and off use out that connection as well. 

For extra credit, I setup unbound to do encrypted dns to cloudflare on it via some google tutorials, and I use zerotier as a link all my servers and clients into a local-ish lan vpn that I can access on cell, work, public wifi, wherever really.  Check them out at zerotier.com.

-mb

On Tue, Sep 18, 2018 at 3:56 PM Jim <jim.nantz15@comcast.net> wrote:

I finally got the vpn working, but I'm having trouble with bittorrent.  So far I've tried Deluge. The next time I have time to mess with it, I can try another bittorrent client.  Michael, which one do you use? 


On 09/18/2018 11:35 AM, Michael Butash wrote:
How are you configuring the openvpn connection?  Using PIA vpn, they give you an openvpn file to connect with, or at least did last I set it up, and otherwise should just need the package dependencies installed with openvpn.

I'd say launch openvpn via the cli in debug to see what errors it's giving with the ovpn file.

Bridge or nat should be irrelevant, I've run mine both ways.  You should only need ports 1194 out to your VPN provider, you don't need to port forward one back, and actually recommend you do NOT unless you're wanting an openvpn server yourself to connect back to.  Mine works fine out via NAT.

-mb

On Mon, Sep 17, 2018 at 10:57 PM Jim <jim.nantz15@comcast.net> wrote:
I decided to try a virtual machine for bittorrent.  The host machine
runs kubuntu 14.04 with 4GB RAM. I've installed virtualbox 5.2.18.  The
virtual machine is running lubuntu 18 and has 1GB RAM.  The problem is
with the vpn.  I can't get openvpn or pptp to work.  I configured them
using the same instructions I did on the host machine.  When I try to
start a VPN connction(openvpn or pptp)  on the guest machine, the icon
appears to show it's trying to connect, then it just stops without
offering any error message.  In  Virtualbox's settings for the guest
machine under network, I chose attached to NAT.

Any ideas what I should do different?

thanks

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

--------------0A551D4FCBBB94EA4C2BE789-- --===============1388784238919470947== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tClBMVUct ZGlzY3VzcyBtYWlsaW5nIGxpc3QgLSBQTFVHLWRpc2N1c3NAbGlzdHMucGh4bGludXgub3JnClRv IHN1YnNjcmliZSwgdW5zdWJzY3JpYmUsIG9yIHRvIGNoYW5nZSB5b3VyIG1haWwgc2V0dGluZ3M6 Cmh0dHA6Ly9saXN0cy5waHhsaW51eC5vcmcvbWFpbG1hbi9saXN0aW5mby9wbHVnLWRpc2N1c3M= --===============1388784238919470947==--