StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.15k stars 1.99k forks source link

HOWTO Install on Ubuntu 20.04 #1826

Open kassemz opened 3 years ago

kassemz commented 3 years ago

Hi guys

I put together the fixes for the different issues that is found around here in the issues section (thanks for sharing!) and I also updated a few things so it works on Ubuntu 20.04. OpenConnect and Tinyproxy aren't working (you need to say no when installing) but OpenVPN and Shadowsocks and Wireguard are working fine. Also only DigitalOcean and Existing server install methods are working (I tested these only).

Updated repo: https://github.com/kassemz/streisand Commit: https://github.com/kassemz/streisand/commit/123fe63de4b198e137ed3a75c80160921d3ff4dc

nhua6456 commented 3 years ago

Hey, glad you've taken the initiative to update some of the scripts!

I've given this a run with default settings (except saying No to OpenConnect and Tinyproxy), and i've hit into a fatal error here:

TASK [gpg : create S.dirmngr directory if it does not exist] ***************************************************************************************************************************************** fatal: [18.139.80.34]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "/root/.gnupg/S.dirmngr already exists as a file", "owner": "root", "path": "/root/.gnupg/S.dirmngr", "size": 0, "state": "file", "uid": 0}

kassemz commented 3 years ago

Hi @nhua6456

You are running this on a fresh server with Ubuntu 20.04 image?

ddvzlnz commented 3 years ago

Hi guys

I put together the fixes for the different issues that is found around here in the issues section (thanks for sharing!) and I also updated a few things so it works on Ubuntu 20.04. OpenConnect and Tinyproxy aren't working (you need to say no when installing) but OpenVPN and Shadowsocks and Wireguard are working fine. Also only DigitalOcean and Existing server install methods are working (I tested these only).

Updated repo: https://github.com/kassemz/streisand Commit: kassemz@123fe63

Thanks for this. I wanted to try this but I can't seem to clone it. Did I do something wrong? Here is what happened:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ mememe@MacBook-Pro ~ % git clone https://github.com/kassemz/streisand.git Cloning into 'streisand'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

kassemz commented 3 years ago

@ddvzlnz

The repo is public and you should be able to clone it with no issues.

Are you able to clone the main repo? git clone https://github.com/StreisandEffect/streisand.git

These links might be helpful: https://stackoverflow.com/questions/12940626/github-error-message-permission-denied-publickey https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/error-permission-denied-publickey

me91st commented 3 years ago

Hi @nhua6456

You are running this on a fresh server with Ubuntu 20.04 image?

@kassemz I am getting the same with fresh AWS Ubuntu 20.04 image

disburden commented 3 years ago

@kassemz I am getting the same with fresh AWS Ubuntu 20.04 image I set the environment variable ANSIBLE_SSH_USER=ubuntu and it didn’t work

fatal: [localhost]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0700", "msg": "/root/.gnupg/S.dirmngr already exists as a file", "owner": "root", "path": "/root/.gnupg/S.dirmngr", "size": 0, "state": "file", "uid": 0}