Jump to: navigation, search


This page is a translated version of the page Lantern and the translation is 100% complete.

Other languages:
English • ‎中文

Lantern - 翻墙软件


Lantern是一款翻墙软件,可作为 Tor 网桥的替代品。

TODO: 待扩展

用 Lantern 作为Tor的前置代理


用 Lantern 可以作为Tor的前置代理建立如下隧道:
User -> Lantern -> Tor -> Internet


Qubes-Whonix only! Non-Qubes-Whonix不支持的.

如果你想尝试,推荐您先阅读如下相关Wiki: Tunnels/Introduction


创建一个新的独立的叫做 Lantern-Gateway 的ProxyVM ,其模板基于 Debian-8 template.

在 Lantern-Gateway ProxyVM中, Template:卸载防火墙

在Lantern-Gateway ProxyVM 中, IP Forwarding 可以/应该被禁用,因为其是无必要的。

sudo sysctl -w net.ipv4.ip_forward=0


sudo apt-get install libappindicator3-1

检查一下可供下载的deb包是否还能凑合用。去 https://getlantern.org/ 下载之。

curl {{Curl Secure}} https://s3.amazonaws.com/lantern/lantern-installer-beta-64-bit.deb --output ~/lantern-installer-beta-64-bit.deb

安装 lantern。 TODO[2]

sudo dpkg -i ~/lantern-installer-beta-64-bit.deb


lantern -addr


关闭(正在运行的) sys-whonix。将 sys-whonix的 NetVM 设置为 Lantern-Gateway。重启 sys-whonix。


在 sys-whonix中 Template:打开 /etc/tor/torrc

以下使用10.137.11.1仅是举一个例子。 你需要将 替换为你 Lantern-Gateway ProxyVM的IP。 你可以通过在sys-whonix中运行以下命令行来找到其IP。 qubesdb-read /qubes-gateway



Reload Tor.

After editing /etc/tor/torrc you must reload Tor so your changes take effect. (Note: if after completing all these steps and you are not able to connect to Tor, you have most likely done something wrong. Go back and check your /etc/tor/torrc and redo the steps outlined in the sections above. If your are able to connect to Tor, then you have completed your changes correctly.)

For Qubes-Whonix, complete the following steps:

Qubes App Launcher (blue/grey "Q") -> Whonix-Gateway ProxyVM (commonly named 'sys-whonix') -> Reload Tor

For graphical Whonix-Gateway, complete the following steps:

Start Menu -> Applications -> Settings -> Reload Tor

For terminal-only Whonix-Gateway, press on expand on the right.

Complete the following steps:

Reload Tor.

sudo service tor@default reload

Check Tor's daemon status.

sudo service tor@default status

It should include a a message saying.

Active: active (running) since ...

In case of issues, try the following debugging steps.

Check Tor's config.

sudo -u debian-tor tor --verify-config

Should show something like the following.

Sep 17 17:40:41.416 [notice] Read configuration file "/etc/tor/torrc".
Configuration was valid



  1. TODO debian/control 应当声明一个依赖。 检查以下看看Lantern开发者是否意识到了这个问题,然后如果有必要的话报告一个bug.
  2. TODO: 检查lantern开发中是否已经存在如下tickets。如果没有,请创建它们。如果已经存在,请将其链接到注脚这里。
  3. 在Lantern-Gateway中, 检查lantern的 http 端口是否可用。
    curl --tlsv1 --proto =https --proxytunnel --proxy https://check.torproject.org

    在Lantern-Gateway中,检查 lantern的socks端口是否可用。

    curl {{Curl Secure}} --socks5-hostname socks5h:// https://check.torproject.org
  4. 在sys-whonix中,测试Tor是否可以使用Lantern共享的http代理。
    curl.anondist-orig --tlsv1 --proto =https --proxytunnel --proxy https://check.torproject.org


    curl.anondist-orig {{Curl Secure}} --socks5-hostname socks5h:// https://check.torproject.org
  5. TODO: 使其使用sock协议工作。 根据 https://github.com/getlantern/lantern/issues/2075 lantern 已经功能支持socks端口了。 Issues 已开启: https://github.com/getlantern/lantern/issues/4838

Random News:

Interested in becoming author for Whonix blog? Writing about anonymity/privacy/security? Get in touch!

Impressum | Datenschutz | Haftungsausschluss

https | (forcing) onion
Share: Twitter | Facebook | Google+
This is a wiki. Want to improve this page? Help welcome, volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation. Whonix (g+) is a licensee of the Open Invention Network. Unless otherwise noted above, content of this page is copyrighted and licensed under the same Free (as in speech) license as Whonix itself.