Skip to content

Instantly share code, notes, and snippets.

@glamrock
Last active February 2, 2017 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glamrock/4b92b46bc406f6e1b943bad3cf821ac0 to your computer and use it in GitHub Desktop.
Save glamrock/4b92b46bc406f6e1b943bad3cf821ac0 to your computer and use it in GitHub Desktop.
# __________ .__
# \______ \_______|__|____ _______
# | | _/\_ __ \ \__ \\_ __ \
# | | \ | | \/ |/ __ \| | \/
# |______ / |__| |__(____ /__|
# \/ \/
#
#### BASICS
Nickname briar
ContactInfo Saint <griffin@cryptolab.net>
ORPort 9001 #required
RunAsDaemon 1
ExitRelay 1 # it's an exit
DirPort 9030 # what port to advertise for directory connections
# DirPortFrontPage /etc/tor/tor-exit-notice.html
#### LOGGING
Log notice file /var/log/tor/notices.log
#Log debug file /var/log/tor/debug.log
#Log debug stderr
#### BANDWIDTH
RelayBandwidthRate 109 MBytes
RelayBandwidthBurst 110 MBytes
MaxAdvertisedBandwidth 109Mbytes
AccountingMax 20 TB
AccountingStart day 00:00
AccountingStart month 1 00:00
# Exit policies
ExitPolicy accept *:20-21 # FTP - File Transfer Protocol (data / control)
ExitPolicy accept *:22 # SSH - Secure Shell, secure logins, file transfer (potential ABUSE - common port scan attacks map.norsecorp.com)
ExitPolicy accept *:53 # DNS - Domain Name System
ExitPolicy accept *:80-81 # HTTP - Hypertext Transfer Protocol / web browsing
ExitPolicy accept *:88 # kerberos - computer network authentication protocol
ExitPolicy accept *:110 # POP3 - Post Office Protocol v3 (receive email only)
ExitPolicy accept *:143 # IMAP - Internet Message Access Protocol, management of email messages (receive email only)
ExitPolicy accept *:220 # IMAP3 - Internet Message Access Protocol v3 (receive email only)
ExitPolicy accept *:389 # LDAP - Lightweight Directory Access Protocol
ExitPolicy accept *:443 # HTTPS - Hypertext Transfer Protocol over TLS/SSL / secure web browsing
ExitPolicy accept *:464 # kpasswd - Kerberos Change/Set password
ExitPolicy accept *:531 # IRC/AIM - AOL Instant Messenger
ExitPolicy accept *:543-544 # Kerberos - klogin, Kerberos login / kshell, Kerberos Remote shell
ExitPolicy accept *:554 # RTSP - Real Time Streaming Protocol
ExitPolicy accept *:636 # LDAP - Lightweight Directory Access Protocol over TLS/SSL
ExitPolicy accept *:706 # SILC - Secure Internet Live Conferencing
ExitPolicy accept *:749 # kerberos - protocol administration
ExitPolicy accept *:873 # rsync - file synchronization protocol
ExitPolicy accept *:902-904 # VMware - Virtual Infrastructure Client / Console / Server
ExitPolicy accept *:981 # Remote HTTPS management for firewall
ExitPolicy accept *:989-990 # FTP over TLS/SSL - File Transfer Protocol (data / control)
ExitPolicy accept *:991 # Netnews Administration System
ExitPolicy accept *:992 # Telnet protocol over TLS/SSL
ExitPolicy accept *:993 # IMAP over SSL - Internet Message Access Protocol over TLS/SSL (receive email only)
ExitPolicy accept *:995 # POP3 over SSL - Post Office Protocol v3 (receive email only)
ExitPolicy accept *:1194 # OpenVPN - Virtual Private Network
ExitPolicy accept *:1220 # QT Server Admin - QuickTime Streaming Server administration
ExitPolicy accept *:1293 # PKT-KRB-IPSec - Internet Protocol Security
ExitPolicy accept *:1500 # VLSI License Manager - Firewall (NT4-based) Remote Management / Server
ExitPolicy accept *:1533 # Sametime - IM—Virtual Places Chat MS SQL Server
ExitPolicy accept *:1677 # GroupWise - clients in client/server access mode
ExitPolicy accept *:1723 # PPTP - Point-to-Point Tunneling Protocol
ExitPolicy accept *:1755 # RTSP - Media Services (MMS, ms-streaming)
ExitPolicy accept *:1863 # MSNP - MS Notification Protocol, MS Messenger service / Instant Messaging clients
ExitPolicy accept *:2083 # Secure Radius Service (radsec) and CPanel default SSL
ExitPolicy accept *:2086-2087 # GNUnet, ELI - Web Host Manager default and Web Host Manager default SSL
ExitPolicy accept *:2095-2096 # NBX - CPanel default web mail and CPanel default SSL web mail
ExitPolicy accept *:2102-2104 # Zephyr - Project Athena Notification Service server / connection / host manager
ExitPolicy accept *:3690 # SVN - Subversion version control system
ExitPolicy accept *:4643 # Virtuozzo
ExitPolicy accept *:5050 # MMCC - Yahoo! Messenger
ExitPolicy accept *:5190 # ICQ and AOL Instant Messenger
ExitPolicy accept *:5222-5223 # XMPP, XMPP over SSL - Extensible Messaging and Presence Protocol client connection
ExitPolicy accept *:5228 # Android Market - Google Play, Android Cloud, Google Cloud Messaging / HP Virtual Room Service
ExitPolicy accept *:8008 # HTTP alternate / Server administration default
ExitPolicy accept *:8074 # Gadu-Gadu - instant messaging client
ExitPolicy accept *:8443 # PCsync HTTPS - Plesk Control Panel, Apache Tomcat SSL
ExitPolicy accept *:9418 # git - Git pack transfer service
ExitPolicy accept *:10000 # Network Data Management Protocol - Webmin, Web-based Unix/Linux system administration tool
ExitPolicy accept *:11371 # OpenPGP hkp (http keyserver protocol)
ExitPolicy accept *:19294 # Google Voice TCP - Voice and Video connections
ExitPolicy accept *:19638 # Ensim control panel
ExitPolicy accept *:50002 # Electrum Bitcoin SSL
ExitPolicy accept *:64738 # Mumble - voice over IP
ExitPolicy reject *:*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment