-
Notifications
You must be signed in to change notification settings - Fork 8
/
torrc-bridge.txt
53 lines (36 loc) · 1.21 KB
/
torrc-bridge.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
SocksPort 0
Log notice file /var/log/tor.log
RunAsDaemon 1
# for FreeBSD
DataDirectory /var/db/tor
# for OpenBSD
DataDirectory /var/tor
# add a hidden service for SSHD?
#HiddenServiceDir /var/tor/sshd
#HiddenServicePort 22 127.0.0.1:22
# sometimes necessary
#Address ${your_public_ip_address}
# the TCP port for the bridge that will need port forwarding from the NAT device
ORPort 9001
Nickname ${some nickname}
# The more the better
# Throttle traffic to 4000KB/s (16000Kbps)
RelayBandwidthRate 4000 KBytes # Throttle traffic to 4000KB/s (16000Kbps)
# But allow bursts up to 6000KB (48000Kbps)
RelayBandwidthBurst 6000 KBytes # But allow bursts up to 6000KB (48000Kbps)
# for obfs4proxy, with logging the TorData directory
#ServerTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy -enableLogging -logLevel info managed
#ExtORPort auto
# and static TCP port that obfs4proxy will listen on
#ServerTransportListenAddr obfs4 ${static_device_IP}:42222
User _tor
# no exit traffic here
ExitPolicy reject *:*
PublishServerDescriptor 1
BridgeRelay 1
# show connection by country code every 24 hours
BridgeRecordUsageByCountry 1
EntryStatistics 1
# useful for tail-ing(1) /var/log/tor.log
HeartbeatPeriod 1 hours
AvoidDiskWrites 1