如何确保我的数据安全和隐私
我上网时最担心的一件事情是,我该如何确保我的数据安全和隐私。在搜索答案的过程中,我找到了很多保持匿名的方法,比如使用代理网站。但是使用第三方的服务不能完全保证。我需要的是有一款软件可以让我自己安装并运行,那样我就能确保只有我才能访问数据。
这款软件叫什么呢?
它叫虚拟隐私网络。它允许访问时通过SSL加密你的数据。因为是加密的连接,所以你的ISP不能看到你的浏览信息。
在本篇Linux教程中,我会在CentOS 7上安装一个Openv*n服务。Openv*n很容易使用,开源且拥有社区的支持。它的客户端支持Windows、Android和Mac。
第一步: 在你的Linux机器或者 VPS 上安装Openv*n服务
从 https://openv*n.net/index.php/access-server/download-openv*n-as-sw.html (它被墙一点都不奇怪,你知道的)下载安装包,Ubuntu用户也可以找到合适的安装包并安装。
- [[email protected] ]$ cd /tmp
- [[email protected] tmp]$ wget http://swupdate.openv*n.org/as/openv*n-as-2.0.10-CentOS7.x86_64.rpm
- [[email protected] tmp]$ sudo rpm -Uvh openv*n-as-2.0.10-CentOS7.x86_64.rpm
- Preparing...################################# [100%]
- Updating/ installing...
- 1:openv*n-as-0:2.0.10-CentOSrelease################################# [100%]
- TheAccessServer has been successfully installed in/usr/local/openv*n_as
- Configuration log file has been written to /usr/local/openv*n_as/init.log
- Please enter "passwd openv*n" to set the initial
- administrative password,then login as"openv*n" to continue
- configuration here: https://yourhostIP:943/admin
- To reconfigure manually,use the /usr/local/openv*n_as/bin/ov*n-init tool.
- AccessServer web UIs are available here:
- Admin UI: https://yourhostIP:943/admin
- Client UI: https://yourhostIP:943/
第二步: 为 Openv*n 客户端设置密码
- [[email protected] ]$passwd openv*n
第三步: 通过管理URL https://yourhostIP:943/admin 登录并启动服务
输入用户名 “openv*n” 和你先前设置的密码
第四步: 从客户端URL安装客户端 (它会给你一个选项下载安装程序)
你可以在这里看指导来了解如何在你的操作系统上安装。
第五步: 用你先前创建的用户名和密码连接你的服务器
就是这样,你可以访问whatismyip.com来查看你的IP,应该已经是你的CentOS 7上的Openv*n的地址了。
python -c from pyov*n.sagent.sagent_entry import openv*nas ; openv*nas() --logfile=/var/log/openv*nas.log --pidfile=/var/run/openv*nas.pid
python -c from pyov*n.log.logworker import start ; start()
python -c from pyov*n.cserv.wserv_entry import start ; start() -no -u openv*n_as -g openv*n_as --pidfile /usr/local/openv*n_as/etc/tmp/wserv.pid -r epoll
root 8715 4.5 2.4 323472 45792 ? S 22:33 0:00 python -c from pyov*n.sagent.sagent_entry import openv*nas ; openv*nas() --logfile=/var/log/openv*nas.log --pidfile=/var/run/openv*nas.pid
root 8718 2.7 1.4 244732 26528 ? S 22:33 0:00 python -c from pyov*n.log.logworker import start ; start()
openv*n+ 8719 1.9 1.7 266932 33424 ? S 22:33 0:00 python -c from pyov*n.cserv.wserv_entry import start ; start() -no -u openv*n_as -g openv*n_as --pidfile /usr/local/openv*n_as/etc/tmp/wserv.pid -r epoll
root 8734 0.7 0.8 221512 15952 ? S 22:33 0:00 python -c from pyov*n.sagent.iptworker import start6 ; start6()
root 8735 0.7 0.8 221512 15964 ? S 22:33 0:00 python -c from pyov*n.sagent.iptworker import start ; start()
openv*n+ 8737 0.0 0.1 32700 3496 ? S 22:33 0:00 openv*n-openssl --errors-to-stderr --config stdin
openv*n+ 8740 0.0 0.0 32552 852 ? S 22:33 0:00 openv*n-openssl --errors-to-stderr --config stdin
openv*n+ 8747 0.0 0.1 32696 3332 ? S 22:33 0:00 openv*n-openssl --errors-to-stderr --config stdin