http://arav.i2p/stuff/article/setting_up_a_tor_proxy_relay_hiddenserv?lang=ru
You can also set Address option if you have a domain name or set it to your white IP-address. Otherwise, if you don’t add it or comment out it, Tor will guess it. RelayBandwithRate and RelayBandwithBurst are the same as BandwithRate and BandwithBurst but for relay.