---
name: "usewithtor"
section: "1"
platform: "linux"
package: "torsocks"
version: "1.2-3"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/usewithtor"
---

# usewithtor(1)

Shell wrapper to simplify the use of the torsocks(8) library to transparently allow an application to use a SOCKS proxy.

## NAME

**usewithtor** - Shell wrapper to simplify the use of the [torsocks(8)](/torsocks/8.md) library to transparently allow an application to use a SOCKS proxy.

## SYNOPSIS

**usewithtor** \[application \[application's arguments\]\]\

## DESCRIPTION

**usewithtor** is a wrapper between the torsocks library and the application what you would like to run socksified.

## OPTIONS

- **\[application \[application's arguments\]\]**

  run the application as specified with the environment (LD\_PRELOAD) set such that [torsocks(8)](/torsocks/8.md) will transparently proxy SOCKS connections in that program.

## USEWITHTOR VERSUS TORSOCKS

**usewithtor** runs **[torsocks(1)](/torsocks/1.md)** with the default configuration file, located at **/etc/torsocks.conf.** Running [torsocks(1)](/torsocks/1.md) directly means that no configuration file will be used (unless you manually set the TORSOCKS\_CONF\_FILE or TSOCKS\_CONF\_FILE environment variable), instead **[torsocks(8)](/torsocks/8.md)** will use defaults that are sensible for most Tor installations.

## USEWITHTOR VERSUS TORIFY

**[usewithtor(1)](/usewithtor/1.md)** and **[torify(1)](/torify/1.md)** intend to achieve the same ends for most practical purposes. However **[torify(1)](/torify/1.md)** will use a default tsocks installation if one exists. **Usewithtor(1)** will only ever use a **[torsocks(8)](/torsocks/8.md)** installation.

## SEE ALSO

[torsocks.conf(5)](/torsocks.conf/5.md) [torsocks(1)](/torsocks/1.md) [usewithtor(1)](/usewithtor/1.md)

## AUTHOR

Robert Hogan (robert@roberthogan.net).This script is very similar to [torify(1)](/torify/1.md), provided by the Tor project.
