blob: afcf1b2f1067548e376caa71355c1f11a95d262a [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001config rtpproxy global
2 option enabled 0 # 0 - disabled, 1 - enabled
3
4config instance 'site1'
5 option socket 'udp:127.0.0.1:7723' # socket
6 option ipaddr '127.0.0.1' # IPv4 address
7 option ip6addr '2001:0db8:0000:0000:0000:0000:1428:57ab' # IPv6 address
8 option user 'nobody' # userid to run rtpproxy instance from
9 option log_level 'INFO' # DBUG, INFO, WARN, ERR or CRIT
10 option opts '' # additional options for rtpproxy instance
11
12config instance 'site2'
13 option socket 'udp:127.0.0.1:7724'
14 option ipaddr 'lan/wan' # Bridge mode. 'lan' and 'wan' will be
15 option user 'nobody' # translated to IPv4 addresses by init
16 option log_level 'DBUG' # script. Handy if using dynamic IPs. Can
17 option opts '' # also be used with single interfaces.
18 # Translation for both 'ipaddr' and
19 # 'ip6addr' supported.
20
21config rtpproxy 'hotplug'
22 #option interface 'wan' # uncomment to enable hotplug
23