Project

General

Profile

« Previous | Next » 

Revision 332f5781

Added by Phil Davis over 12 years ago

Document local remote network lists in OpenVPN GUI

The local and remote network fields can now have lists of CIDRs, so document this in the GUI.

View differences:

usr/local/www/vpn_openvpn_server.php
1222 1222
						</td>
1223 1223
					</tr>
1224 1224
					<tr id="local_optsv4">
1225
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv4 Local Network"); ?></td>
1225
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv4 Local Network/s"); ?></td>
1226 1226
						<td width="78%" class="vtable">
1227
							<input name="local_network" type="text" class="formfld unknown" size="20" value="<?=htmlspecialchars($pconfig['local_network']);?>">
1227
							<input name="local_network" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['local_network']);?>">
1228 1228
							<br>
1229
							<?=gettext("This is the network that will be accessible " .
1230
							"from the remote endpoint. Expressed as a CIDR " .
1231
							"range. You may leave this blank if you don't " .
1229
							<?=gettext("These are the IPv4 networks that will be accessible " .
1230
							"from the remote endpoint. Expressed as a comma-separated list of one or more CIDR ranges. " .
1231
							"You may leave this blank if you don't " .
1232 1232
							"want to add a route to the local network " .
1233 1233
							"through this tunnel on the remote machine. " .
1234 1234
							"This is generally set to your LAN network"); ?>.
1235 1235
						</td>
1236 1236
					</tr>
1237 1237
					<tr id="local_optsv6">
1238
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv6 Local Network"); ?></td>
1238
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv6 Local Network/s"); ?></td>
1239 1239
						<td width="78%" class="vtable">
1240
							<input name="local_networkv6" type="text" class="formfld unknown" size="20" value="<?=htmlspecialchars($pconfig['local_networkv6']);?>">
1240
							<input name="local_networkv6" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['local_networkv6']);?>">
1241 1241
							<br>
1242
							<?=gettext("This is the IPv6 network that will be accessible " .
1243
							"from the remote endpoint. Expressed as a CIDR " .
1244
							"range. You may leave this blank if you don't " .
1242
							<?=gettext("These are the IPv6 networks that will be accessible " .
1243
							"from the remote endpoint. Expressed as a comma-separated list of one or more IP/PREFIX. " .
1244
							"You may leave this blank if you don't " .
1245 1245
							"want to add a route to the local network " .
1246 1246
							"through this tunnel on the remote machine. " .
1247 1247
							"This is generally set to your LAN network"); ?>.
1248 1248
						</td>
1249 1249
					</tr>
1250 1250
					<tr id="remote_optsv4">
1251
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv4 Remote Network"); ?></td>
1251
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv4 Remote Network/s"); ?></td>
1252 1252
						<td width="78%" class="vtable">
1253
							<input name="remote_network" type="text" class="formfld unknown" size="20" value="<?=htmlspecialchars($pconfig['remote_network']);?>">
1253
							<input name="remote_network" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['remote_network']);?>">
1254 1254
							<br>
1255
							<?=gettext("This is a network that will be routed through " .
1255
							<?=gettext("These are the IPv4 networks that will be routed through " .
1256 1256
							"the tunnel, so that a site-to-site VPN can be " .
1257
							"established without manually changing the " .
1258
							"routing tables. Expressed as a CIDR range. If " .
1259
							"this is a site-to-site VPN, enter the " .
1260
							"remote LAN here. You may leave this blank if " .
1257
							"established without manually changing the routing tables. " .
1258
							"Expressed as a comma-separated list of one or more CIDR ranges. " .
1259
							"If this is a site-to-site VPN, enter the " .
1260
							"remote LAN/s here. You may leave this blank if " .
1261 1261
							"you don't want a site-to-site VPN"); ?>.
1262 1262
						</td>
1263 1263
					</tr>
1264 1264
					<tr id="remote_optsv6">
1265
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv6 Remote Network"); ?></td>
1265
						<td width="22%" valign="top" class="vncell"><?=gettext("IPv6 Remote Network/s"); ?></td>
1266 1266
						<td width="78%" class="vtable">
1267
							<input name="remote_networkv6" type="text" class="formfld unknown" size="20" value="<?=htmlspecialchars($pconfig['remote_networkv6']);?>">
1267
							<input name="remote_networkv6" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['remote_networkv6']);?>">
1268 1268
							<br>
1269
							<?=gettext("This is an IPv6 network that will be routed through " .
1269
							<?=gettext("These are the IPv6 networks that will be routed through " .
1270 1270
							"the tunnel, so that a site-to-site VPN can be " .
1271
							"established without manually changing the " .
1272
							"routing tables. Expressed as an IP/PREFIX. If " .
1273
							"this is a site-to-site VPN, enter the " .
1274
							"remote LAN here. You may leave this blank if " .
1271
							"established without manually changing the routing tables. " .
1272
							"Expressed as a comma-separated list of one or more IP/PREFIX. " .
1273
							"If this is a site-to-site VPN, enter the " .
1274
							"remote LAN/s here. You may leave this blank if " .
1275 1275
							"you don't want a site-to-site VPN"); ?>.
1276 1276
						</td>
1277 1277
					</tr>

Also available in: Unified diff