|
|
|
|
472
|
sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc
|
472
|
sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc
|
473
|
sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
|
473
|
sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
|
474
|
sed -i 's|ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
|
474
|
sed -i 's|ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
|
475
|
- if ! grep "ExtORPort auto" /etc/tor/torrc; then
|
|
|
|
|
475
|
+ if ! grep 'ExtORPort ' /etc/tor/torrc; then
|
476
|
echo 'ExtORPort auto' >> /etc/tor/torrc
|
476
|
echo 'ExtORPort auto' >> /etc/tor/torrc
|
477
|
else
|
477
|
else
|
478
|
sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc
|
478
|
sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc
|