This commit is contained in:
Bob Mottram 2016-12-22 10:42:36 +00:00
parent 2171555adf
commit 3c38b86fd6
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ function tor_create_bridge_relay {
sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc
sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
sed -i 's|ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
if ! grep "ExtORPort auto" /etc/tor/torrc; then
if ! grep 'ExtORPort ' /etc/tor/torrc; then
echo 'ExtORPort auto' >> /etc/tor/torrc
else
sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc