|
Re: Tcl/Tk and VPN's
|
Alexander Caldwell
|
Oct 25, 2008 10:49 PDT
|
Jerry,
That sounds good. The newer Tkfp on Moka5 was done by just installing Tkfp
onto a Grafpup version of a Moka5 virtual PC that seemed to be much better
set up than the other Puppy Moka5 Tkfp I tried before. The Xwindow set up on this Grafpup
seems to work much better. I've been using it daily and it works real good in the
office. I still get the grappy widget in the tab notebook though, but just have to
click on a different tab and come back and it then puts the focus where it's supposed
to be. Otherwise the Moka5 set up makes it very easy to have everything set up for a
quick install of tkFP on any Windows PC. The networking is pretty much taken care
of by Moka5 and Grafpup. If your Windows PC is on-line, then your Virtual PC will be also
with no need to mess around with config files etc.
There are at least a couple of extensions for Tcl that use SSH that worked with Tcl/Tk so that you could just
load the extension and then use regular Tcl socket commands and your socket would automatically be encrypted, but you would just use the regular Tcl socket programming
commands. The problem I ran into with those extensions is they are compiled extensions and they need to be recompiled from source with different versions of Tcl. So if somebody had compiled one for an older version of Tcl, it wouldn't work with the newer versions. I've
sort of found it easier to maintain Tkfp to just keep an older version of Tcl/Tk and the
extensions I needed and not keep trying to upgrade to the latest version of Tcl/Tk all the
time as things would tend to break and I really don't need the latest greatest features of
Tcl/Tk to do what I want to do. So when I want an encrypted socket, like when I connect from home, what I do is start up
ssh with port forwarding from a shell outside of Tkfp and Tcl/Tk and then when I use that
port from Tkfp with Tcl/Tk it will be encrypted that way. SSH will be installed with the Linux operating system and then I don't have to keep worrying about whether I need to maintain a Tcl ssh extension. Don't know if that makes sense.
Alex
Jerry Park <jpar-@icehouse.net> wrote:
Hi Alex,
I noticed the new Moka5 tkFP version awhile back in the Moka5 library,
so that's cool that you were able to iron out some of the problems in
the initial tkFP Moka5 version.
I have been putting most of my effort into refining my network
connections recently. You have done an excellent job in detailing how
to do ssh port forwarding in prior posts. I mentioned hamachi (which I
use daily) and I've also been using TeamViewer. Both work well. There
is a new product for folks with a Gmail account called GBrige that is a
free secure VPN, RDP, file sharing service. Reports so far say it's not
as slick as hamachi or TeamViewer, but it's pretty good at establishing
VPN/RDP/file sharing connections between two Internet enabled computers.
I have yet to use it, so am just reporting about it. TeamViewer is the
absolute best so far at establishing RDP/File sharing super fast on any
computer anywhere with no configuring at all .. just launch and go.
Unfortunately, the free version is only for non-commercial/personal use
(self monitored, apparently).
I'm wondering how Tcl/Tk sockets (like with databaseserver.tcl) can be
used to easy the difficulty of quickly setting up a VPN. I've been
working with OpenVPN, but it has a pretty fair learning curve. Any
ideas about Tcl/Tk and VPN's?
Jerry
|
|
 |
|