mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update tor
This commit is contained in:
parent
e9acdb2524
commit
48d0871cb6
@ -6,7 +6,6 @@ FROM alpine
|
|||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& echo 'http://dl-4.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories \
|
|
||||||
&& echo 'http://dl-4.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
&& echo 'http://dl-4.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
||||||
&& apk add -U build-base \
|
&& apk add -U build-base \
|
||||||
git \
|
git \
|
||||||
|
@ -44,7 +44,7 @@ BridgeRelay 1
|
|||||||
ContactInfo noreply@easypi.info
|
ContactInfo noreply@easypi.info
|
||||||
DataDirectory /var/lib/tor
|
DataDirectory /var/lib/tor
|
||||||
Exitpolicy reject *:*
|
Exitpolicy reject *:*
|
||||||
Nickname datageek
|
Nickname easypi
|
||||||
ORPort 9001
|
ORPort 9001
|
||||||
PublishServerDescriptor 0
|
PublishServerDescriptor 0
|
||||||
SocksPort 0
|
SocksPort 0
|
||||||
@ -77,8 +77,8 @@ ClientTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy
|
|||||||
$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/C=JP/ST=Tokyo/L=Heiwajima/O=DataGeek/OU=Org/CN=meek.easypi.info"
|
$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/C=JP/ST=Tokyo/L=Heiwajima/O=DataGeek/OU=Org/CN=meek.easypi.info"
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
$ docker-compose logs
|
$ docker-compose logs
|
||||||
$ docker exec -it tor_tor_1 tor --quiet --list-fingerprint
|
$ docker-compose exec tor tor --quiet --list-fingerprint
|
||||||
datageek F24B F4DE 7464 9E20 5A8A 3621 C84F 97FF 623B 2083
|
easypi F24B F4DE 7464 9E20 5A8A 3621 C84F 97FF 623B 2083
|
||||||
```
|
```
|
||||||
|
|
||||||
## client
|
## client
|
||||||
|
@ -2,7 +2,7 @@ BridgeRelay 1
|
|||||||
ContactInfo noreply@easypi.info
|
ContactInfo noreply@easypi.info
|
||||||
DataDirectory /var/lib/tor
|
DataDirectory /var/lib/tor
|
||||||
Exitpolicy reject *:*
|
Exitpolicy reject *:*
|
||||||
Nickname datageek
|
Nickname easypi
|
||||||
ORPort 9001
|
ORPort 9001
|
||||||
PublishServerDescriptor 0
|
PublishServerDescriptor 0
|
||||||
SocksPort 0
|
SocksPort 0
|
||||||
|
Loading…
Reference in New Issue
Block a user