Skip to content

Commit

Permalink
apps: cluster1: tor-controller-instance: Hide bridges.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Dec 1, 2023
1 parent 7380380 commit 320050d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
16 changes: 16 additions & 0 deletions apps/cluster1/tor-controller-instance/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
``` shell
cat <<EOF | kubectl create -f -
apiVersion: v1
kind: ConfigMap
metadata:
name: tor-configuration
namespace: tor-controller-instance
data:
torrc: |
ExitNodes {nl},{fr},{de}
UseBridges 1
ClientTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy
Bridge $(pass show tor/bridge/1)
Bridge $(pass show tor/bridge/2)
EOF
```
8 changes: 3 additions & 5 deletions apps/cluster1/tor-controller-instance/tor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ kind: Tor
metadata:
name: example-tor-instance
spec:
config: |
ExitNodes {nl},{fr},{de}
UseBridges 1
ClientTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy
Bridge obfs4 193.70.1.41:45696 974E5CC54AD486D1C13B9FBE33491D53E85168A1 cert=pTM2iHcRpQm8BptkHvqzWNEWjnZ0H4L5L0dBr5/M1a/0MsIVbIAOuSxUS2mxjtTnFfUobQ iat-mode=0
configMapKeyRef:
name: tor-configuration
key: torrc

0 comments on commit 320050d

Please sign in to comment.