Actions

Dev/Test

From Whonix

< Dev

Curl Clearnet Connectivity Test from Whonix-Gateway[edit]

Warning: Not anonymous!

At time of writing IP 138.201.14.212 is check.torproject.org.

Using IP (138.201.14.212) rather than DNS (check.torproject.org) is requried since Whonix-Gateway ™ does not have a global DNS resolver enabled by default for its own traffic (details on page Whonix-Gateway System DNS).

sudo -u clearnet UWT_DEV_PASSTHROUGH=1 curl --silent --tlsv1.2 --proto =https -H 'Host: check.torproject.org' -k https://138.201.14.212

How to UnWhonix ™ - Whonix ™ package removal[edit]

TODO: document

How to UnWhonix ™ - restore clearnet networking[edit]

Instructions on how to remove Whonix ™ Tor default networking for Whonix-Gateway ™. After applying these instructions, Whonix-Gateway ™ will connect to clearnet.

Warning: Not anonymous!

Qubes specific!


1) Inside sys-whonix: Unload Whonix ™ Firewal.

2) Inside sys-whonix: Check.

sudo iptables --list

Should show.

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

3) Inside any other VM, any non-Tor VM that has functional internet: Figure out its /etc/resolv.conf settings.

cat /etc/resolv.conf

4) Inside sys-whonix: Delete /etc/resolv.conf.

sudo rm /etc/resolv.conf

5) Inside sys-whonix: Use the same settings from the non-Tor VM.

Open file /etc/resolv.conf in an editor with root rights.

(Qubes-Whonix ™: In TemplateVM)

This box uses lxsudo for root privilege escalation and mousepad as editor. These are examples. Other tools could archive the same goal too. If these example tools do not work for you or if you are not using Whonix, please see this link.

If you are using a graphical Whonix or Qubes-Whonix ™ with XFCE, run.

lxsudo mousepad /etc/resolv.conf

If you are using a terminal-only Whonix, run.

sudo nano /etc/resolv.conf

6) Inside sys-whonix: Deactivate all uwt wrappers globally.

The following instructions permanently deactivate all uwt wrappers and remove stream isolation for uwt wrapped applications system-wide. Consequently, all uwt wrapped applications revert to the default system networking configuration.

If you want more granular control of uwt wrapper deactivation, see Stream_Isolation#Deactivate_uwt_Stream_Isolation_Wrapper.

Open file /etc/uwt.d/50_user.conf in an editor with root rights.

(Qubes-Whonix ™: In TemplateVM)

This box uses lxsudo for root privilege escalation and mousepad as editor. These are examples. Other tools could archive the same goal too. If these example tools do not work for you or if you are not using Whonix, please see this link.

If you are using a graphical Whonix or Qubes-Whonix ™ with XFCE, run.

lxsudo mousepad /etc/uwt.d/50_user.conf

If you are using a terminal-only Whonix, run.

sudo nano /etc/uwt.d/50_user.conf

Add.

uwtwrapper_global="0"

Save and exit.

7) Inside sys-whonix: Download https://check.torproject.org

scurl --remote-name https://check.torproject.org

Or manually run curl with these parameters. [1]

curl --tlsv1.2 --proto =https --remote-name https://check.torproject.org


Open index.html in an editor as a regular, non-root user.

If you are using a graphical environment, run.

mousepad index.html

If you are using a terminal, run.

nano index.html

Should include.

Sorry. You are not using Tor.

No user support in comments. See Support. Comments will be deleted after some time. Specifically after comments have been addressed in form of wiki enhancements. See Wiki Comments Policy.


Add your comment
Whonix welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Random News:

Do you wonder why Whonix will always be free? Check out Why Whonix is Freedom Software.


https | (forcing) onion

Follow: Twitter | Facebook | gab.ai | Stay Tuned | Whonix News

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian. Debian is a registered trademark owned by Software in the Public Interest, Inc.

Whonix ™ is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.

  1. This has the same effect as the scurl command above.