Skip to content

Troubleshooting

brainfucksec edited this page May 21, 2022 · 6 revisions

Cannot connect to Tor network

Network misconfigurations and DNS or Firewall settings may interfere with the program. In these cases archtorify returns errors related to the Tor connection:

Tor service not running

Tor service is not running! exit

It means that the service related to the tor package failed to start. Make sure that is configured correctly, see: Tor: Troubleshooting

System not using Tor

[!] Your system is not using Tor

This error can be caused by several factors:

- curl fail the request / time for request has expired (5s).

- The Tor node you are connected to is excessively slow/unstable.

- Problems related to Tor configuration (see above).

When you encounter this error, first try to restart archtorify with the command --restart, see: archtorify Wiki: Usage

If it doesn't work, make sure you don't have your Firewall active or DNS settings interfering with the program.

If you installed archtorify for the first time, restart your operating system before launching the program.

Cannot connect to Internet after stop archtorify

If you cannot return to your normal connection after archtorify has stopped, try these steps:

Restart the iptables service:

systemctl restart iptables.service

If you had previous iptables rules, check that you have restored them:

iptables -L

Check your Firewall, DNS settings:

Remember that you must disable the current firewall / iptables rules before starting archtorify, probably the problem is related to your previous DNS settings, DHCP or others network services. See: ArchWiki: Network Configuration

Restart network service:

systemctl restart network

.. if you use NetworkManager:

systemctl restart NetworkManager

See: https://wiki.archlinux.org/title/Systemd#Using_units

Restore system files

archtorify at run edits the following files:

/etc/iptables/iptables.rules
/etc/resolv.conf
/etc/tor/torrc
/usr/lib/systemd/system/tor.service

Before editing them, a backup is made in the following directory:

/var/lib/archtorify/backups

If at the end of the program you encounter problems, check if the files are the default ones, otherwise restore them from backups:

/var/lib/archtorify/backups/
├── resolv.conf.backup
├── torrc.backup
└── tor.service.backup

About the iptables rules, before run archtorify you need to make a backup of your current rules (if you have set them), see: iptables: Configuration and usage and archtorify Wiki: How to run archtorify