| 4 |
- |
1 |
# -*- text -*-
|
|
|
2 |
######################################################################
|
|
|
3 |
#
|
|
|
4 |
# Sample virtual server for receiving a CoA or Disconnect-Request packet.
|
|
|
5 |
#
|
|
|
6 |
|
|
|
7 |
# Listen on the CoA port.
|
|
|
8 |
#
|
|
|
9 |
# This uses the normal set of clients, with the same secret as for
|
|
|
10 |
# authentication and accounting.
|
|
|
11 |
#
|
|
|
12 |
listen {
|
|
|
13 |
type = coa
|
|
|
14 |
ipaddr = *
|
|
|
15 |
port = 3799
|
|
|
16 |
server = coa
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
server coa {
|
|
|
20 |
# When a packet is received, it is processed through the
|
|
|
21 |
# recv-coa section. This applies to *both* CoA-Request and
|
|
|
22 |
# Disconnect-Request packets.
|
|
|
23 |
recv-coa {
|
|
|
24 |
# CoA && Disconnect packets can be proxied in the same
|
|
|
25 |
# way as authentication or accounting packets.
|
|
|
26 |
# Just set Proxy-To-Realm, or Home-Server-Pool, and the
|
|
|
27 |
# packets will be proxied.
|
|
|
28 |
|
|
|
29 |
# Insert your own policies here.
|
|
|
30 |
ok
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
# When a packet is sent, it is processed through the
|
|
|
34 |
# recv-coa section. This applies to *both* CoA-Request and
|
|
|
35 |
# Disconnect-Request packets.
|
|
|
36 |
send-coa {
|
|
|
37 |
# Sample module.
|
|
|
38 |
ok
|
|
|
39 |
}
|
|
|
40 |
|
|
|
41 |
# You can use pre-proxy and post-proxy sections here, too.
|
|
|
42 |
# They will be processed for sending && receiving proxy packets.
|
|
|
43 |
}
|