Lantronix X300 Series X300 Series User Guide Rev B - Page 176

Notification, Network > Load Balancing > Notification

Page 176 highlights

Parameters Source Port Destination address Destination port Protocol Sticky Sticky timeout IPset Logging Policy assigned 11: Network Description Enter the Source Port number. Enter the Destination IP Address. Enter the Destination Port number. Select the protocols on which the rule is applicable. Select Yes to allow traffic from the same source IP address within the timeout limit to use the same WAN interface as the previous session. Otherwise, select No. Enter the stickiness timeout value in seconds. If no value is entered, this defaults to 600. Enter the name of the IPset rule. IPset lets you route traffic over WAN interfaces based on a set of IP addresses. When the ipset option is configured, the rule will match traffic directed at the given destination IP address to the ipset set. Select Yes to enable firewall logging. The global load balancing logging setting must also be enabled. Otherwise, select No. Policy to be applied to the rule. Notification Network > Load Balancing > Notification MWAN Notification lets you write custom MWAN actions, to be executed with each netifd hotplug interface event on interfaces for which MWAN is enabled. The file is interpreted as a shell script, and is preserved during sysupgrade. The script must start with the line "#!/bin/sh" (without quotation marks). Commented lines (starting with #) will not be executed. Three main environment variables are passed to the script. They are described below: # $ACTION # Is called by netifd and mwan3track # Is called by netifd and mwan3track # Is only called by mwan3track if tracking was successful # Is only called by mwan3track if tracking has failed # $INTERFACE Name of the interface which went up or down (e.g. "wan" or "wwan") # $DEVICE Physical device name which interface went up or down (e.g. "eth0" or "wwan0") X300 Series IoT Cellular Gateway User Guide 176

  • 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
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216

11: Network
X300 Series IoT Cellular Gateway User Guide
176
Notification
Network > Load Balancing > Notification
MWAN Notification lets you write custom MWAN actions, to be executed with each netifd hotplug
interface event on interfaces for which MWAN is enabled. The file is interpreted as a shell script,
and is preserved during sysupgrade.
The script must start with the line “#!/bin/sh” (without quotation marks).
Commented lines (starting with #) will not be executed.
Three main environment variables are passed to the script. They are described below:
# $ACTION
#
<ifup>
Is called by netifd and mwan3track
#
<ifdown>
Is called by netifd and mwan3track
#
<connected>
Is only called by mwan3track if tracking was
successful
#
<disconnected> Is only called by mwan3track if tracking has failed
# $INTERFACE
Name of the interface which went up or down
(e.g. "wan" or "wwan")
# $DEVICE
Physical device name which interface went up or down
(e.g. "eth0" or "wwan0")
Source Port
Enter the Source Port number.
Destination address
Enter the Destination IP Address.
Destination port
Enter the Destination Port number.
Protocol
Select the protocols on which the rule is applicable.
Sticky
Select Yes to allow traffic from the same source IP address within the
timeout limit to use the same WAN interface as the previous session.
Otherwise, select No.
Sticky timeout
Enter the stickiness timeout value in seconds.
If no value is entered, this defaults to 600.
IPset
Enter the name of the IPset rule.
IPset lets you route traffic over WAN interfaces based on a set of IP
addresses. When the ipset option is configured, the rule will match
traffic directed at the given destination IP address to the ipset set.
Logging
Select Yes to enable firewall logging. The global load balancing logging
setting must also be enabled.
Otherwise, select No.
Policy assigned
Policy to be applied to the rule.
Parameters
Description