远程访问 虚拟VPN ssh

前段时间在想,办公室一台电脑,家里一台电脑, 都在firewall后面,于是想如何互相远程:

通过网络查找,可行的方法有:

1 . 通过VPN服务器,(多数要花钱,不花钱的不安全:(

2. teamviewer
远程视频(支持linux与windows),但个人习惯喜欢直接console方便些。

3 hamachi +ssh  
+ haguichi(可视化开源client,刚开始熟悉时需要,之后就可以完全用命令行操作!)

hamachi
可以说是提供虚拟的VPN,当你登录后,类似于QQ,创建加入到一个群中,群里面会显示其它成员的状态、IP。然后,会每台电脑提供一个虚拟的IP,登录后就可直接访问。

--->支持多种模式哦:点对点(速度快),relay,
server转发;

--------------

具体操作,给出链接

http://www.techrepublic.com/blog/linux-and-open-source/use-hamachi-vpn-on-your-linux-clients/2232/#.

先COPY一份,防止链接失效:)

---------------------------==============STRART===============》

If you need to set up a VPN on your Linux machine, and you don‘t want to deal
with the hassle of configuring OpenVPN (or passing traffic through a router),
there is a solution. Jack Wallen has the details in this tip.

If you‘ve used Linux in a business environment, you know there are times when
you might need to host a VPN on that Linux machine in order to access said
machine from other locations. If you need such a service, you could go through
the steps of installing a tool like OpenVPN (which is, of course, an
outstanding open source VPN solution) or, you can do this the easy way and
install the Hamachi VPN GUI for a very easy VPN setup.

I want to demonstrate how to install Hamachi and Haguichi on a Ubuntu desktop
installation so you can see how easy it can be to add your Linux desktop to a
VPN.

What you need

There are two pieces to this puzzle:

There are a few different GUI options that you may come across for Linux:
Hamachi GUI and Haguichi. Hamachi GUI seems to be outdated and not terribly
reliable. Haguichi, on the other hand, is quite reliable. We‘ll install that
tool to use as a GUI front-end, but before you install that, you must install
Hamachi2.

Installation

First, download the Hamachi2 deb from the Logmein
download page
. Once you have that downloaded, do the
following:

  1. Open up a terminal window.

  2. Change to the directory housing the newly downloaded .deb file.

  3. Issue the command


    sudo dpkg -i logmein-hamachi_XXX_xxx.deb

    (Where XXX is the release number and xxx is the architecture for your
    hardware). NOTE: If your installation doesn‘t complete, you might need to open
    up Synaptic to "fix" the broken packages. This is an easy way to catch all of
    the dependencies.


  4. Type your sudo password and hit Enter.

  5. Allow the installation to complete.

With that piece installed, you are ready to install the GUI. Instead of
downloading a .deb file, we are going to add the PPA for Haguichi to our system.
Once the PPA is added, Haguichi can be installed using apt-get. Here are the
steps:

  1. Open up a terminal.

  2. Issue the command


    sudo add-apt-repository ppa:webupd8team/haguichi.


  3. Issue the command


    sudo apt-get update.


  4. Issue the command sudo


    apt-get install haguichi.

I will say theHaguichi client does seem to be a bit more reliable than
Hamachi GUI.

Connect to, or create a VPN network

Now that you have everything installed, click Applications | Internet |
Haguichi. When the Haguichi window opens (at left), click Client | Join Network.
A new window will open where you can enter the credentials for the VPN you want
to join. You can also create a new network by clicking Client | Create Network.
You will have to enter a name and a password for that network. This should go
without saying, but make sure your password follows standard strong password
practices. Do NOT create a week password for a VPN network connection.

Once you are joined to a VPN network you can browse other machines on the
network by double-clicking the listed machine, which will open up a file browser
window for all available shares on that machine. NOTE: If the target machine has
no shares, you will not be able to browse the machine.

You can also change the nickname of the machine you are working on. This is
handy when the hostnames of the various machines on your network are similar. To
change the nickname click Client | Change Nickname and then enter the new
information.

Final thoughts

If you need to connect a Linux machine to an Hamachi VPN (or need to quickly
create a VPN network) you can‘t go wrong with Hamachi2 and either Hamachi GUI or
Haguichi. The setup time is fast, the tools are user-friendly, and it beats
having to walk through the more complex configuration of OpenVPN. The downside?
Although the source code of the Haugichi software is 100% open source, it does
rely on the Hamachi service which uses non-open source software. That‘s picking
at nits, but some open source users are purists.

---------==================COPY END==================

远程访问 虚拟VPN ssh,布布扣,bubuko.com

时间: 2024-10-08 23:10:42

远程访问 虚拟VPN ssh的相关文章

远程访问VPN--easy vpn 路由器上配置

实验拓扑图: web  用的server2003 搭建 vpn服务器的配置如下: hostname vpn aaa new-model    开启AAA功能,路由器上AAA默认是关闭的 aaa authentication login yanzheng local    设置AAA 验证取名yanzheng:local代表采用本地验证的方式,还可以用三方AAA服务器验证.也可使其与radius服务器相连 aaa authorization network shouquan local  设置AA

VPN SSH

VPN : Virtual Private Network SSH: SSH 为 Secure Shell 的缩写,由 IETF 的网络工作小组(Network Working Group)所制定:SSH 为建立在应用层和传输层基础上的安全协议.SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议.利用 SSH 协议可以有效防止远程管理过程中的信息泄露问题.SSH最初是UNIX系统上的一个程序,后来又迅速扩展到其他操作平台.SSH在正确使用时可弥补网络中的漏洞.SSH客户端适用于

如何远程访问VPN之easy VPN

博主QQ:819594300 博客地址:http://zpf666.blog.51cto.com/ 有什么疑问的朋友可以联系博主,博主会帮你们解答,谢谢支持! 前言:前面已经详细介绍了L2L ipsec VPN,本章将深入探讨远程访问VPN的内容.首先我们对比在建立ipsec连接方面二者之间的区别,从而引出XAUTH.组策略.动态crypto map等概念,以路由器这个搭建最熟悉的环境为载体,详细介绍远程VPN的原理及配置.之后,我们会类比路由器的配置,详细讲解cisco asa防火墙如何实现远

vpn虚拟专用网络

虚拟专用网络的功能是:在公用网络上建立专用网络,进行加密通讯.在企业网络中有广泛应用.VPN网关通过对数据包的加密和数据包目标地址的转换实现远程访问.VPN有多种分类方式,主要是按协议进行分类.VPN可通过服务器.硬件.软件等多种方式实现.

LAN-to-LANVPN与远程访问VPN

LAN-to-LANVPN与远程访问VPN 概述 随着公司的发展,LAN-to-LAN VPN的特性满足不了移动办公用户的需求.远程访问VPN,可以满足在外工作员工访问公司内部信息的需求,更好的适应公司业务发展需求.本实验主要介绍LAN-to-LAN VPN与远程访问VPN的结合. 一.实验目的   熟悉LAN-to-LANVPN: 了解并掌握远程访问VPN原理及配置: 掌握LAN-TO-LANVPN与远程访问VPN的结合: 二.实验拓扑 说明: 本实验所有涉及路由器全部用c7200-adven

通过使用OpenVPN来构建一个VPN

首先我们需要简单熟悉一下OpenVPN和VPN概念,方便我们在使用OpenVPN构建VPN时的操作~  VPN概述 VPN,即虚拟专用网络,其功能是:在公用网络上建立专用网络,进行加密通讯.在企业网络中有广泛应用.VPN网关通过对数据包的加密和数据包目标地址的转换实现远程访问.VPN有多种分类方式,主要是按协议进行分类.VPN可通过服务器.硬件.软件等多种方式实现. VPN属于远程访问技术,简单地说就是利用公用网络架设专用网络.例如某公司员工出差到外地,他想访问企业内网的服务器资源,这种访问就属

什么是VPN?

VPN----虚拟专用网络 虚拟专用网络的功能:在公用网络上建立专用网络,进行加密通讯.在企业网络汇总有广泛应用.vpn网关通过对数据包的加密和数据包目标地址的转换事项远程访问.vpn有多种分类方式,主要按按协议进行分类.vpn可通过服务器,硬件,软件等多种方式实现. 中文名:虚拟专用网络,                                                           用途:加密通讯 VPN属于远程访问技术,简单地说就是利用公用网络架设专用网络.例如某公司员

【网络】VPN

VPN: 来自百度百科 虚拟专用网络的功能是:在公用网络上建立专用网络,进行加密通讯.在企业网络中有广泛应用.VPN网关通过对数据包的加密和数据包目标地址的转换实现远程访问.VPN有多种分类方式,主要是按协议进行分类.VPN可通过服务器.硬件.软件等多种方式实现. VPN属于远程访问技术,简单地说就是利用公用网络架设专用网络.例如某公司员工出差到外地,他想访问企业内网的服务器资源,这种访问就属于远程访问. 在传统的企业网络配置中,要进行远程访问,传统的方法是租用DDN(数字数据网)专线或帧中继,

【VPN】01、VPN基础

一.VPN概述 1.VPN简介 VPN:Virtual Private Network  虚拟专用网络,虚拟私人网路 虚拟专用网络的功能是: 在公用网络上建立专用网络,进行加密通讯.在企业网络中有广泛应用. VPN网关通过对数据包的加密和数据包目标地址的转换实现远程访问. VPN有多种分类方式,主要是按协议进行分类.VPN可通过服务器.硬件.软件等多种方式实现. 2.VPN的应用场景 虚拟专用网络可以实现不同网络的组件和资源之间的相互连接.虚拟专用网络能够利用Internet或其它公共互联网络的