blob: 511bda11d5bdce1e4096a5192dcd5d00a53ccf5c (
plain)
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
|
# relay
<% if @port != 0 -%>
ORPort <%= @port %>
<% listen_addresses.each do |listen_address| -%>
ORListenAddress <%= listen_address %>
<% end -%>
<% real_outbound_bindaddresses.each do |outbound_bindaddress| -%>
OutboundBindAddress <%= outbound_bindaddress %>
<% end -%>
<% if @nickname != '' -%>
Nickname <%= @nickname %>
<% end -%>
<% if @address != '' -%>
Address <%= @address %>
<% end -%>
<% if @portforwarding != '0' -%>
PortForwarding <%= @portforwarding %>
<% end -%>
<% if @bandwidth_rate != '' -%>
BandwidthRate <%= @bandwidth_rate %> KB
<% end -%>
<% if @bandwidth_burst != '' -%>
BandwidthBurst <%= @bandwidth_burst %> KB
<% end -%>
<% if @relay_bandwidth_rate != '0' -%>
RelayBandwidthRate <%= @relay_bandwidth_rate %> KB
<% end -%>
<% if @relay_bandwidth_burst != '0' -%>
RelayBandwidthBurst <%= @relay_bandwidth_burst %> KB
<% end -%>
<% if @accounting_max != '0' -%>
AccountingMax <%= @accounting_max %> GB
<% if @accounting_start -%>
AccountingStart <%= @accounting_start %>
<% end -%>
<% end -%>
<% if @contact_info != '' -%>
ContactInfo <%= @contact_info %>
<% end -%>
<% end -%>
<% if @my_family != '' -%>
MyFamily <%= @my_family %>
<% end -%>
<% if @bridge_relay != '0' -%>
BridgeRelay <%= @bridge_relay %>
<% end -%>
|