How To Install obfs4proxy on Ubuntu 18.04

In this tutorial we learn how to install obfs4proxy on Ubuntu 18.04. obfs4proxy is pluggable transport proxy for Tor, implementing obfs4

Introduction

In this tutorial we learn how to install obfs4proxy on Ubuntu 18.04.

What is obfs4proxy

obfs4proxy is:

obfs4proxy is a tool that attempts to circumvent censorship by transforming the Tor traffic between the client and the bridge. This way censors, who usually monitor traffic between the client and the bridge, will see innocent-looking transformed traffic instead of the actual Tor traffic.

obfs4proxy implements the obfsucation protocols obfs2, obfs3, and obfs4.

It is written in Go and is compliant with the Tor pluggable transports specification, and its modular architecture allows it to support multiple pluggable transports.

This package contains both the client and the bridge in a single program.

There are three methods to install obfs4proxy on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install obfs4proxy Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install obfs4proxy using apt-get by running the following command:

sudo apt-get -y install obfs4proxy

Install obfs4proxy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install obfs4proxy using apt by running the following command:

sudo apt -y install obfs4proxy

Install obfs4proxy Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install obfs4proxy using aptitude by running the following command:

sudo aptitude -y install obfs4proxy

How To Uninstall obfs4proxy on Ubuntu 18.04

To uninstall only the obfs4proxy package we can use the following command:

sudo apt-get remove obfs4proxy

Uninstall obfs4proxy And Its Dependencies

To uninstall obfs4proxy and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove obfs4proxy

Remove obfs4proxy Configurations and Data

To remove obfs4proxy configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge obfs4proxy

Remove obfs4proxy configuration, data, and all of its dependencies

We can use the following command to remove obfs4proxy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge obfs4proxy

References

Summary

In this tutorial we learn how to install obfs4proxy package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.