Ticket #16069: torrc

File torrc, 4.5 KB (added by toralf, 5 years ago)

torrc

Line 
1#       /etc/tor/torrc
2#
3User tor
4PIDFile /var/run/tor/tor.pid
5DataDirectory /var/lib/tor/data
6
7ORPort 443
8DirPort 80
9
10Nickname zwiebeltoralf
11ContactInfo replace k with c : kontakt @ zwiebeltoralf . de
12DirPortFrontPage /etc/tor/tor-exit-notice_DE.html
13
14CookieAuthentication 1
15ControlPort 9051
16DisableDebuggerAttachment 0   # change this will quit tor ! arm can't show inbound+outbound connections w/o it
17
18#Log info   file /mnt/ramdisk/info.log
19Log notice file /var/log/tor/notice.log
20Log warn   file /var/log/tor/warn.log
21Log err    file /var/log/tor/err.log
22
23#       20 TB/month: echo "20 * 1024^4 / 31 / 24 / 60 / 60 / 1024" | bc
24# == 8017
25#
26BandwidthRate   8 MB
27BandwidthBurst 40 MB
28
29
30# exit for ipv6
31#
32ORPort [2a01:4f8:190:514a::2]:443
33IPv6Exit 1
34ExitPolicy accept6 *:443       # HTTPS
35ExitPolicy accept6 *:989-995   # FTP over SSL, Netnews Administration System, telnets, IMAP over SSL, ircs, POP3 over SSL
36ExitPolicy accept6 *:6660-6669 # IRC
37ExitPolicy accept6 *:6679      # IRC SSL 
38ExitPolicy accept6 *:6697      # IRC SSL 
39ExitPolicy reject6 *:*
40
41
42# exit for ipv4
43#
44ExitRelay 1
45
46# we'll not directly edit the copy of the reduced exit policy below
47#
48ExitPolicy reject 162.245.0.0/16:*      # 162.245.84.101  too many connections to the same port
49ExitPolicy reject *:20-21
50ExitPolicy reject *:22
51ExitPolicy reject *:23
52ExitPolicy reject *:80
53
54# the reduced exit policy from
55# https://trac.torproject.org/projects/tor/wiki/doc/ReducedExitPolicy
56#
57ExitPolicy accept *:20-23     # FTP, SSH, telnet
58ExitPolicy accept *:43        # WHOIS
59ExitPolicy accept *:53        # DNS
60ExitPolicy accept *:79-81     # finger, HTTP
61ExitPolicy accept *:88        # kerberos
62ExitPolicy accept *:110       # POP3
63ExitPolicy accept *:143       # IMAP
64ExitPolicy accept *:194       # IRC
65ExitPolicy accept *:220       # IMAP3
66ExitPolicy accept *:389       # LDAP
67ExitPolicy accept *:443       # HTTPS
68ExitPolicy accept *:464       # kpasswd
69ExitPolicy accept *:531       # IRC/AIM
70ExitPolicy accept *:543-544   # Kerberos
71ExitPolicy accept *:554       # RTSP
72ExitPolicy accept *:563       # NNTP over SSL
73ExitPolicy accept *:636       # LDAP over SSL
74ExitPolicy accept *:706       # SILC
75ExitPolicy accept *:749       # kerberos
76ExitPolicy accept *:873       # rsync
77ExitPolicy accept *:902-904   # VMware
78ExitPolicy accept *:981       # Remote HTTPS management for firewall
79ExitPolicy accept *:989-995   # FTP over SSL, Netnews Administration System, telnets, IMAP over SSL, ircs, POP3 over SSL
80ExitPolicy accept *:1194      # OpenVPN
81ExitPolicy accept *:1220      # QT Server Admin
82ExitPolicy accept *:1293      # PKT-KRB-IPSec
83ExitPolicy accept *:1500      # VLSI License Manager
84ExitPolicy accept *:1533      # Sametime
85ExitPolicy accept *:1677      # GroupWise
86ExitPolicy accept *:1723      # PPTP
87ExitPolicy accept *:1755      # RTSP
88ExitPolicy accept *:1863      # MSNP
89ExitPolicy accept *:2082      # Infowave Mobility Server
90ExitPolicy accept *:2083      # Secure Radius Service (radsec)
91ExitPolicy accept *:2086-2087 # GNUnet, ELI
92ExitPolicy accept *:2095-2096 # NBX
93ExitPolicy accept *:2102-2104 # Zephyr
94ExitPolicy accept *:3128      # SQUID
95ExitPolicy accept *:3389      # MS WBT
96ExitPolicy accept *:3690      # SVN
97ExitPolicy accept *:4321      # RWHOIS
98ExitPolicy accept *:4643      # Virtuozzo
99ExitPolicy accept *:5050      # MMCC
100ExitPolicy accept *:5190      # ICQ
101ExitPolicy accept *:5222-5223 # XMPP, XMPP over SSL
102ExitPolicy accept *:5228      # Android Market
103ExitPolicy accept *:5900      # VNC
104ExitPolicy accept *:6660-6669 # IRC
105ExitPolicy accept *:6679      # IRC SSL 
106ExitPolicy accept *:6697      # IRC SSL 
107ExitPolicy accept *:8000      # iRDMI
108ExitPolicy accept *:8008      # HTTP alternate
109ExitPolicy accept *:8074      # Gadu-Gadu
110ExitPolicy accept *:8080      # HTTP Proxies
111ExitPolicy accept *:8082      # HTTPS Electrum Bitcoin port
112ExitPolicy accept *:8087-8088 # Simplify Media SPP Protocol, Radan HTTP
113ExitPolicy accept *:8332-8333 # Bitcoin
114ExitPolicy accept *:8443      # PCsync HTTPS
115ExitPolicy accept *:8888      # HTTP Proxies, NewsEDGE
116ExitPolicy accept *:9418      # git
117ExitPolicy accept *:9999      # distinct
118ExitPolicy accept *:10000     # Network Data Management Protocol
119ExitPolicy accept *:11371     # OpenPGP hkp (http keyserver protocol)
120ExitPolicy accept *:19294     # Google Voice TCP
121ExitPolicy accept *:19638     # Ensim control panel
122ExitPolicy accept *:50002     # Electrum Bitcoin SSL
123ExitPolicy accept *:64738     # Mumble
124ExitPolicy reject *:12350     # Skype reminder: blocks login from exit nodes since 2013
125ExitPolicy reject *:23456     # Skype
126ExitPolicy reject *:33033     # Skype
127ExitPolicy reject *:*
128