14. Network Tab

14.1. LAN

14.1.1. Network Settings

LAN interface settings are located at Network > LAN > Network Settings. Navigating to that page will show the following dashboard:

This represents the LAN interfaces that are active on your router (including VLAN). A gray “X” means that the VLAN is used in other settings and cannot be deleted. You can find which settings are using the VLAN by hovering over the gray “X”.

Alternatively, a red “X” means that there are no settings using the VLAN. You can delete that VLAN by clicking the red “X”.

Note: Default VLAN 1 is used for untagged LAN. Unused VLAN will be assigned if the user has configured VLAN 1 for some other LAN network in the previous firmware version.

Clicking on any of the existing LAN interfaces (or creating a new one) will show the following:

IP Settings

IP Address

The IP address and subnet mask of the Pepwave router on the LAN.

Network Settings

Name

Enter a name for the LAN.

VLAN ID

Enter a number for your VLAN

Inter-VLAN routing

Check this box to enable routing between virtual LANs.

Layer 2 SpeedFusion VPN Bridging

PepVPN Profiles to Bridge

The remote network of the selected PepVPN profiles will be bridged with this local LAN, creating a Layer 2 PepVPN, they will be connected and operate like a single LAN, and any broadcast or multicast packets will be sent over the VPN.

Remote Network Isolation

Enable this option if you want to block network traffic between the remote networks, this will not affect the connectivity between them and this local LAN.

Local MAC Address Prefix

This feature filters packets with unicast MAC addresses and applies to packets between local networks and the Layer 2 tunnel. Packets forwarded from one Layer 2 tunnel to another will not be filtered. When the list is empty, the feature will be disabled. If MAC addresses are defined in the list, only packets to and from these addresses will be allowed through the Layer 2 tunnel.

MAC Address allows input as a prefix, e.g. 10:56:CA will whitelist 10:56:CA:00:00:00 to 10:56:CA:FF:FF:FF.

Spanning Tree Protocol

Clicking the box will enable STP for this layer 2 profile bridge.

DHCP Option 82

Click on the question Mark if you want to enable DHCP Option 82.

This allows the device to inject Option 82 with Router Name information before forwarding the DHCP Request packet to a PepVPN peer, such that the DHCP Server can identify where the request originates from.

Override IP Address when bridge connected

Select "Do not override" if the LAN IP address and local DHCP server should remain unchanged after the Layer 2 PepVPN is up.

If you choose to override IP address when the VPN is connected, the device will not act as a router, and most Layer 3 routing functions will cease to work.

DHCP Server Settings

DHCP Server

When this setting is enabled, the DHCP server automatically assigns an IP address to each computer that is connected via LAN and configured to obtain an IP address via DHCP. The Pepwave router’s DHCP server can prevent IP address collision on the LAN.

To enable DHCP bridge relay, please click the Description: Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg icon on this menu item.

DHCP Server Logging

Enable logging of DHCP events in the eventlog by selecting the checkbox.

IP Range

These settings allocate a range of IP addresses that will be assigned to LAN computers by the Pepwave router’s DHCP server.

Lease Time

This setting specifies the length of time throughout which an IP address of a DHCP client remains valid. Upon expiration of the lease time, the assigned IP address will no longer be valid and renewal of the IP address assignment will be required.

DNS Servers

This option allows you to input the DNS server addresses to be offered to DHCP clients. If Assign DNS server automatically is selected, the Pepwave router’s built-in DNS server address (i.e., LAN IP address) will be offered.

WINS Servers

This option allows you to optionally specify a Windows Internet Name Service (WINS) server. You may choose to use the built-in WINS server or external WINS servers.

When this unit is connected using SpeedFusionTM, other VPN peers can share this unit's built-in WINS server by entering this unit's LAN IP address in their DHCP WINS Server setting. Afterward, all PC clients in the VPN can resolve the NetBIOS names of other clients in remote peers. If you have enabled this option, a list of WINS clients will be displayed at Status>WINS Clients.

BOOTP

Check this box to enable BOOTP on older networks that still require it.

Extended DHCP Option

In addition to standard DHCP options (e.g., DNS server address, gateway address, subnet mask), you can specify the value of additional extended DHCP options, as defined in RFC 2132. With these extended options enabled, you can pass additional configuration information to LAN hosts.

To define an extended DHCP option, click the Add button, choose the option to define and enter its value. For values that are in IP address list format, you can enter one IP address per line in the provided text area input control. Each option can be defined once only.

DHCP Exclusion Range

To reserve a range of IP addresses from the DHCP pool, users may exclude a smaller range of IP addresses to avoid IP release behavior.

Note: The start IP should be lower than the end IP, and both the start and end IPs should be within the range of the DHCP pool.

DHCP Reservation

This setting reserves the assignment of fixed IP addresses for a list of computers on the LAN. The computers to be assigned fixed IP addresses on the LAN are identified by their MAC addresses. The fixed IP address assignment is displayed as a cross-reference list between the computers’ names, MAC addresses, and fixed IP addresses.

Name (an optional field) allows you to specify a name to represent the device. MAC addresses should be in the format of 00:AA:BB:CC:DD:EE. Press Description: Plus to create a new record. Press Description: Delete to remove a record. Reserved client information can be imported from the Client List, located at Status>Client List. For more details, please refer to here.

User Account IP Address Reservation

This setting reserves the fixed IP addresses assignment for the list of Remote User Access accounts.

DHCP Relay Settings

DHCP Relay

Enter the address of the DHCP server here. DHCP requests will be relayed to it.

DHCP Server IP Address

DHCP requests from the LAN are relayed to the entered DHCP server.

For active-passive DHCP server configurations, enter active and passive DHCP server IPs into the DHCP Server 1 and DHCP Server 2 fields.

DHCP Option 82

This feature includes device information as relay agent for the attached client when forwarding DHCP requests from a DHCP client to a DHCP server. Device MAC address and network name are embedded to circuit ID and Remote ID in option 82.

DHCP Relay Logging

Check this box to log DHCP relay activity.

14.1.2. Network Settings (Common Settings)

Static Route Settings

Static Route

This table is for defining static routing rules for the LAN segment. A static route consists of the network address, subnet mask, and gateway address. The address and subnet mask values are in w.x.y.z format.

Alternatively, static routes can be defined using a domain name and gateway address.

The local LAN subnet and subnets behind the LAN will be advertised to the VPN. Remote routes sent over the VPN will also be accepted. Any VPN member will be able to route to the local subnet. Click to create a new route. Click to remove a route.

Entries in this list will allow traffic to be routed to a different subnet that is connected to the LAN interface. Any traffic destined for a network/mask pair will be directed to the corresponding gateway instead of being routed through WANs.

A - Advanced feature, please click the Description: Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button on the top right-hand corner of the Static Route session to activate and configure Virtual Network Mapping to resolve network address conflict with remote peers.

In case of a network address conflict with remote peers (i.e. PepVPN / IPsec VPN / IP Forwarding WAN are considered as remote connections), you can define Virtual Network Mapping to resolve it.

Note: OSPF & RIPv2 settings should be updated as well to avoid advertising conflicted networks.

For further details on virtual network mapping watch this video: https://youtu.be/C1FMdZCn3Z8

Virtual Network Mapping

One-to-One NAT

Every IP Address in the Local Network has a corresponding unique Virtual IP Address for NAT.
Traffic originating from the Local Network to remote connections will be SNAT'ed and behave like coming from the defined Virtual Network.
While traffic initiated by remote peers to the Virtual Network will be DNAT'ed accordingly.

Many-to-One NAT

The subnet range defined in Local Network will be mapped to a single Virtual IP Address for NAT. Traffic can only be initiated from local to remote, and this traffic will be NAT'ed and behave like coming from the same Virtual IP Address.

Enter any needed DNS proxy settings. Once all settings have been entered, click Save to store your changes.

DNS Proxy Settings

Enable

To enable the DNS proxy feature, check this box, and then set up the feature at Network>LAN>DNS Proxy Settings.

A DNS proxy server can be enabled to serve DNS requests originating from LAN/PPTP/SpeedFusionTM peers. Requests are forwarded to the DNS servers/resolvers defined for each WAN connection.

DNS Caching

This field is to enable DNS caching on the built-in DNS proxy server. When the option is enabled, queried DNS replies will be cached until the records’ TTL has been reached. This feature can improve DNS response time by storing all received DNS results for faster DNS lookup. However, it cannot return the most updated result for frequently updated DNS records. By default, DNS Caching is disabled.

Include Google Public DNS Servers

When this option is enabled, the DNS proxy server will forward DNS requests to Google's public DNS servers, in addition to the DNS servers defined in each WAN. This could increase the DNS service's availability. This setting is disabled by default.

Local DNS Records

This table is for defining custom local DNS records. A static local DNS record consists of a host name and IP address. When looking up the host name from the LAN to LAN IP of the Peplink Balance, the corresponding IP address will be returned. To display the option to set TTL manually, click Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg. Click Plus to create a new record. Click Delete to remove a record.

Domain Lookup Policy

DNS proxy will look up the domain names defined here using only the specified connections.

DNS ResolversA

Check the box to enable the WINS server. A list of WINS clients will be displayed at Network>LAN>DNS Proxy Settings>DNS Resolvers.

This field specifies which DNS resolvers will receive forwarded DNS requests. If no WAN/VPN/LAN DNS resolver is selected, all of the WAN’s DNS resolvers will be selected.
If a SpeedFusionTM peer is selected, you may enter the VPN peer’s DNS resolver IP address(es).
Queries will be forwarded to the selected connections’ resolvers. If all of the selected connections are down, queries will be forwarded to all resolvers on healthy WAN connections.

A - Advanced feature, please click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button on the top right-hand corner to activate.

Finally, if needed, configure your Bonjour forwarding settings. Once all settings have been entered, click Save to store your changes.

Bonjour Forwarding Settings

Enable

Check this box to turn on Bonjour forwarding.

Bonjour Service

Choose Service and Client networks from the drop-down menus, and then click Plus to add the networks. To delete an existing Bonjour listing, click Delete.

Bonjour Forwarding is supported on All Balance models, MAX 700, HD2, HD4

Drop-In Mode

Drop-in mode (or transparent bridging mode) eases the installation of the Peplink Balance on a live network between the firewall and router, such that changes to the settings of existing equipment are not required.

The following diagram illustrates drop-in mode setup:

Enable drop-in mode using the Setup Wizard. After enabling this feature and selecting the WAN for drop-in mode, various settings, including the WAN's connection method and IP address, will be automatically updated.

When drop-in mode is enabled, the LAN and the WAN for drop-in mode ports will be bridged. Traffic between the LAN hosts and WAN router will be forwarded between the devices. In this case, the hosts on both sides will not notice any IP or MAC address changes.

After successfully setting up the Peplink Balance as part of the network using drop-in mode, it will, depending on model, support one or more WAN connections. Some MediaFast units also support multiple WAN connections after activating drop-in mode, though a SpeedFusion license may be required to activate more than one WAN port.

Please note the Drop-In Mode is mutually exclusive with VLAN.

Drop-in Mode Settings

Enable

Drop-in mode eases the installation of the Peplink Balance on a live network between the existing firewall and router, such that no configuration changes are required on existing equipment. Check the box to enable the drop-in mode feature. Please refer to the Drop-in Mode section for details.

WAN for Drop-In Mode

Select the WAN port to be used for drop-in mode. If WAN 1 with LAN Bypass is selected, the high availability feature will be disabled automatically.

Shared Drop-In IPA

When this option is enabled, the passthrough IP address will be used to connect to WAN hosts (email notification, remote syslog, etc.). The Balance will listen for this IP address when WAN hosts access services provided by the Balance (web admin access from the WAN, DNS server requests, etc.).

To connect to hosts on the LAN (email notification, remote syslog, etc.), the default gateway address will be used. The Balance will listen for this IP address when LAN hosts access services provided by the Balance (web admin access from the WAN, DNS proxy, etc.).

Shared IP AddressA

Access to this IP address will be passed through to the LAN port if this device is not serving the service being accessed. The shared IP address will be used in connecting to hosts on the WAN (e.g., email notification, remote syslog, etc.). The device will also listen on the IP address when hosts on the WAN access services served on this device (e.g., web admin accesses from WAN, DNS server, etc.).

WAN Default Gateway

Enter the WAN router's IP address in this field. If there are more hosts in addition to the router on the WAN segment, click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button next to “WAN Default Gateway” and check the I have other host(s) on WAN segment box and enter the IP address of the hosts that need to access LAN devices or be accessed by others.

WAN DNS Servers

Enter the selected WAN's corresponding DNS server IP addresses.

A - Advanced feature, please click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button on the top right-hand corner to activate.

14.1.3. Port Settings

To configure port settings, navigate to Network > Port Settings.

On this screen, you can enable specific ports, as well as determine the speed of the LAN ports, whether each port is a trunk or access port, and which VLAN each link belongs to, if any.

Untagged frames received by the port are classified to a VLAN indicated by the Port VLAN Identifier (PVID). All frames from the VLAN are untagged on egress. The PVID option is only configurable when Port Type is set to “Trunk”.

Management Port configuration is currently available for the following models:

  • Balance: 5000EC, 2500, 2500EC, 1350EC, 380X, 580X, SDX Series

14.1.4. Captive Portal

The captive portal serves as a gateway that clients have to pass if they wish to access the Internet using your router. To configure, navigate to Network > Captive Portal.

Captive Portal Settings

Name

Enter the name for the Captive Portal.

Enable

Check Enable and then, optionally, select the LANs/VLANs that will use the captive portal.

Hostname

To customize the portal’s form submission and redirection URL, enter a new URL in this field. To reset the URL to factory settings, click Default.

Access Mode

Click Open Access to allow clients to freely access your router. Click User Authentication to force your clients to authenticate before accessing your router.
Select External Server to use the Captive Portal with a HotSpot system.

As described in the following knowledgebase article:

https://forum.peplink.com/t/using-hotspotsystem-wi-fi-on-pepwave-max-routers/

RADIUS Server

This authenticates your clients through a RADIUS server. After selecting this option, you will see the following fields:

Fill in the necessary information to complete your connection to the server and enable authentication.

LDAP Server

This authenticates your clients through an LDAP server. Upon selecting this option, you will see the following fields:

Description: C:\Document\2013-11-19 6.1 Launch\Balance Firmware 6.1 Manual\Screencaps\2013-11-20_202408.png

Fill in the necessary information to complete your connection to the server and enable authentication.

Access Quota

Set a time and data cap to each user’s Internet usage.

Quota Reset Time

This menu determines how your usage quota resets. Setting it to Daily will reset it at a specified time every day. Setting a number of minutes after quota reached establishes a timer for each user that begins after the quota has been reached.

Inactive Timeout

Clients will get disconnected when the inactive the configured time is reached.
Default 0: no timeout

Allowed Networks

To whitelist a network, enter the domain name / IP address here and click Plus. To delete an existing network from the list of allowed networks, click the Delete button next to the listing.

Allowed Clients

To whitelist a client, enter the MAC address / IP address here and click Plus . To delete an existing client from the list of allowed clients, click the Delete button next to the listing.

Splash Page

Here, you can choose between using the Balance’s built-in captive portal and redirecting clients to a URL you define.

Popup Handling

Configurable options for popup handling:
- Bypass Popup (Redirection only takes place on normal browser)

- Automatically show splash page on Safari for Apple (iOS / macOS) devices

Logout Hostname

A hostname that can be used to log out of captive portal when being accessed on browser.

Customize splash page

Click on the provided link in the Captive portal profile to customize the splash page.

A new browser tab is opened with a WYSIWYG editor of the splash page
o edit the content, click on the corresponding element after switching Edit Mode to ON.

14.2. WAN

From Network > WAN, choose a WAN connection by clicking it.

IPv6

IPv6 support can be enabled on one of the available Ethernet WAN ports/Cellular WAN. On this screen, you can choose which WAN will support IPv6. Available connection methods are SLAAC/DHCPv6 and Passthrough.

To enable IPv6 support on a WAN, the WAN router must respond to Stateless Address Autoconfiguration advertisements and DHCPv6 requests. IPv6 clients on the LAN will acquire their IPv6, gateway, and DNS server addresses from it. The device will also acquire an IPv6 address for performing ping/traceroute checks and accepting web admin access.

On supported cellular models (refer to Firmware 8.6.0 RC4 – Release Notes, #21555).

DNS over HTTPS (DoH)

You can enable the DoH support in this section.

DNS over HTTPS

Enable

When this option is enabled, the DNS proxy server will use HTTPS connections to forward DNS requests to the DoH resolver; it will not fall back to traditional UDP DNS options.

Server

The options to configure DoH with a predefined server are:

  • Cloudflare - The DNS server IP addresses for Cloudflare will be using 1.1.1.1, which is unfiltered.
  • Quad9 - The DNS server IP addresses for Quad9 will be using 9.9.9.9 and 142.112.112.112, which is malware blocking and DNSSEC.
  • Google DNS - The DNS server IP addresses for Google DNS will be using 8.8.8.8 and 8.8.4.4, which is RFC8484 standard.
  • OpenDNS - The DNS server IP addresses for OpenDNS will be using 208.67.222.222 and 208.67.220.220, which is standard DNS.
  • Custom URL - You may select Custom URL:, and enter the resolver URL and IP address.

Cellular WAN Airplane Mode

You can enable Airplane Mode in this section (Network > WAN). Airplane mode will be turned ON when Cellular WAN Connections are disabled.

WAN Quality Monitoring

This setting advises how WAN Quality information is being gathered.

By default, WAN Quality will always be observed and gathered automatically. With customized choice of WAN connections, the device will always observe WAN Quality of those selected WAN connections. Other WAN connections may stop observing WAN Quality information if it is not necessary for the underlying features.

Synergy Mode

You can enable the Synergy Controller in this section.

You may click this to enable the Synergy Controller. By default, the setting is disabled.

Synergy Controller

WAN Connection

You can select the WAN connection to use as a Synergy Link that connects to synergized devices.

Permitted Synergized Devices

Choose Any to permit any connected device to be synergized. Choose Approved List to synergize based on serial number entries.

Synergy WAN Transport Mode

Performance mode provides higher throughput by using VLAN transport for physical WANs and GRE transport for virtual WANs. This option is selected by default.

Compatibility mode optimizes GRE transport for all WAN connections to provide greater deployment flexibility across different network environments.

User may now remove synergy device from synergy controller Web Admin “Network > WAN > Synergy Controller > Synergized Devices(s)”.

A confirmation message will pop up and click “Yes” to confirm the removal action.

14.2.1. Orbit WAN

The Orbit WAN section allows users to configure Starlink WAN and OneWeb WAN connections.

On supported models (refer to Firmware 8.4.0 – Release Notes, #30479), the Starlink option is available.

OneWeb is supported on all models.

To choose the WAN port for connecting to Starlink and/or OneWeb equipment, click the ‘EDIT’ () icon as shown below:

The ‘Orbit WAN - Starlink - WAN Connection’ and ‘Orbit WAN - OneWeb - WAN Connection’ selections will pop up, displaying the available options below.

Orbit WAN

Starlink

  • WAN Connection

WAN option to enable Starlink management.

  • Ignore Outages

Enable the device to ignore all outages (e.g., obstructed, no downlink, no pings).

The WAN will only go down when its health check fails.

OneWeb

  • WAN Connection

WAN option to enable OneWeb management.

14.2.2. WAN Connection Settings (Ethernet)

Clicking an Ethernet WAN connection will result in the following screen:

WAN Connection Settings

WAN Connection Name

Enter a name to represent this WAN connection.

Enable

This setting enables the WAN connection. If schedules have been defined, you will be able to select a schedule to apply to the connection.

Connection Priority

This option allows you to configure the WAN connection whether for normal daily usage or as a backup connection only.

If Always-on is chosen, the WAN connection will be kept on continuously, regardless of the priority of other WAN connections.

If Backup is chosen, the WAN connection will depend on other WAN connections. It will not be used when one or more higher priority dependent WAN connections are connected.

Connection Method

There are five possible connection methods for Ethernet WAN:

  • DHCP

  • Static IP

  • PPPoE

  • L2TP

  • GRE

The connection method and details are determined by, and can be obtained from the ISP. See the following sections for details on each connection method. DNS server settings can be configured in the corresponding menu for each connection method.

Routing Mode

This field shows that NAT (network address translation) will be applied to the traffic routed over this WAN connection. IP Forwarding is available when you click the link in the help icon.

Management IP Address

Management IP Address is available for configuration when you click here for other DHCP settings.

This option allows you to configure the management IP address for the DHCP WAN connection.

Custom Hostname

If your service provider's DHCP server requires you to supply a hostname value upon

acquiring an IP address, you may enter the value here. If your service provider does not

provide you with a hostname, you can safely bypass this option.

DNS Servers

Each ISP may provide a set of DNS servers for DNS lookups. This setting specifies the

DNS (Domain Name System) servers to be used when a DNS lookup is routed through this

connection.

Selecting Obtain DNS server address automatically results in the DNS servers assigned by the WAN DHCP server being used for outbound DNS lookups over the connection. (The DNS servers are obtained along with the WAN IP address assigned by the DHCP server.) When the following DNS server address(es) is selected, you may enter custom DNS server addresses for this WAN connection into the DNS server 1 and DNS server 2 fields.

Independent from Backup WANs

If this is checked, the connection will be working independent from other Backup WAN connections. Those in Backup Priority will ignore the status of this WAN connection, and will be used when none of the other higher priority connections are available.

Reply to ICMP PING

If the checkbox is unticked, this option is disabled and the system will not reply to any ICMP ping echo requests to the WAN IP addresses of this WAN connection.

Default: ticked (Yes)

Upload Bandwidth

This field refers to the maximum upload speed.

This value is referenced when default weight is chosen for outbound traffic and traffic prioritization. A correct value can result in effective traffic prioritization and efficient use of upstream bandwidth.

Download Bandwidth

This field refers to the maximum download speed.

Default weight control for outbound traffic will be adjusted according to this value.

Enforced Bandwidth Limit

When enabled, actual WAN traffic is limited based on the upload and download values configured above.

Note: These bandwidth values are always enforced when one or more Application Queues are in use, regardless of whether this option is enabled.

14.2.3. Cellular WAN

Clicking a Cellular WAN connection will result in the following screens:

WAN Connection Settings

WAN Connection Name

Indicate a name you wish to give this WAN connection.

Enable

Click the checkbox to toggle the on and off state of this connection.

Connection Priority

This option allows you to configure the WAN connection whether for normal daily usage or as a backup connection only.

If Always-on is chosen, the WAN connection will be kept on continuously, regardless of the priority of other WAN connections.

If Backup is chosen, the WAN connection will depend on other WAN connections. It will not be used when one or more higher priority dependent WAN connections are connected.

Independent from Backup WANs

If this is checked, the connection will be working independent from other Backup WAN connections. Those in Backup Priority will ignore the status of this WAN connection, and will be used when none of the other higher priority connections are available.

Routing Mode

This option allows you to select the routing method to be used in routing IP frames via the WAN connection. The mode can be either NAT (Network Address Translation) or IP Forwarding.

In the case if you need to choose IP Forwarding for your scenario. Click the Description: Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button to enable IP Forwarding.

Management IP Address

Management IP Address is available for configuration when you click here for other DHCP settings.

This option allows you to configure the management IP address for the DHCP WAN connection.

DNS Servers

Each ISP may provide a set of DNS servers for DNS lookups. This setting specifies the

DNS (Domain Name System) servers to be used when a DNS lookup is routed through this

connection.

Selecting Obtain DNS server address automatically results in the DNS servers assigned by the WAN DHCP server being used for outbound DNS lookups over the connection. (The DNS servers are obtained along with the WAN IP address assigned by the DHCP server.) When Use the following DNS server address(es) is selected, you may enter custom DNS server addresses for this WAN connection into the DNS server 1 and DNS server 2 fields.

IP Passthrough

When this IP Passthrough option is active, after the cellular WAN connection is up, the router's DHCP server will offer the connection's IP address to one LAN client. All incoming or outgoing traffic will be routed without NAT.

Regardless of the WAN connection's state, the router always binds to the LAN IP address (Default: 192.168.50.1). So when the cellular WAN is connected, the LAN client could access the router's web admin by manually configuring its IP address to the same subnet as the router's LAN IP address (e.g. 192.168.50.10).

Note: when this option is firstly enabled, the LAN client may not be able to refresh its IP address to the cellular WAN IP address in a timely fashion. The LAN client may have to manually renew its IP address from the DHCP server. After this option is enabled, the DHCP lease time will be 2 minutes. I.e. the LAN client could refresh its IP address and access the network at most one minute after the cellular WAN connection goes up.

Standby State

This option allows you to choose whether to remain connected when this WAN connection is no longer in the highest priority and has entered the standby state. When Remain connected is chosen, upon bringing up this WAN connection to active, it will be immediately available for use.

If this WAN connection is charged by connection time, you may want to set this option to Disconnect so that connection will be made only when needed.

SpeedFusion VPN may use connected standby WAN for failover if link failure is detected on the higher priority WAN, you can set this option to Disconnect to avoid data passing through.

Idle Disconnect

If this is checked, the connection will disconnect when idle after the configured Time value.
This option is disabled by default.

Reply to ICMP PING

If the checkbox is unticked, this option is disabled and the system will not reply to any ICMP ping echo requests to the WAN IP addresses of this WAN connection.

Default: ticked (Yes)

Cellular Settings

SIM Card

If “Alternate between SIM A and SIM B periodically” is selected, the SIM card will be switching according to the schedule time in the SIM Cards Alternate.

If “Custom Selection” is selected, you can designate the priority of the SIM cards (SIM A/ SIM B/ Remote SIM/ SpeedFusion Connect) and connect to.

For routers that support the SIM Injector, you may select the “Remote SIM” to provision a SIM from a SIM Injector. Further details on the SIM Injector are available here: https://www.peplink.com/products/sim-injector/.

Remote SIM Settings

If “Use Remote SIM Only” is selected in the SIM card section, the Remote SIM Settings will be shown.

You may need to enable the remote SIM Host settings in the Remote SIM management, see the Appendix for more details on FusionSIM. After that, click on “Scan nearby remote SIM server” to show the serial number(s) of the connected SIM Injector(s).

If you want to select a specific SIM, in the Cellular Settings, type “:” and then the number of the SIM slot, eg.1111-2222-3333:7.

Fallback to Prefered SIM when

This option is allowing to switch to another SIM card when the Cellular WAN reached fallback timeout.

SIM Cards Alternate

If “Alternate between SIM A and SIM B periodically” is selected in the SIM Card section, the SIM Cards Alternate will be shown:

You may set the schedule time for switching between SIM A only and SIM B only.

5G/LTE/3G

This drop-down menu allows you to restrict cellular to a particular band. Click the button to enable the selection of specific bands and 5G SA Carrier Aggregation.

For 5G SA Carrier Aggregation supported models, refer to Firmware 8.6.0 – Release Notes, #36464

Optimal Network Discovery

Cellular WANs by default will only handover from 3G to LTE network when there is no active data traffic, enabling this option will make it run the handover procedures after fallback to 3G for a defined effective period, even this may interrupt the connectivity for a short while.

Band Selection

When set to Auto, band selection allows for automatically connecting to available, supported bands (frequencies).
When set to Manual, you can manually select the bands (frequencies) the SIM will connect to.

Data Roaming

This checkbox enables data roaming on this particular SIM card. When data roaming is enabled this option allows you to select in which countries the SIM has a data connection. The option is configured by using MMC (country) codes.Please check your service provider’s data roaming policy before proceeding.

Authentication

Choose from PAP Only or CHAP Only to use those authentication methods exclusively. Select Auto to automatically choose an authentication method.

Operator Settings

This setting allows you to configure the APN settings for your connection. If Auto is selected, the mobile operator should be detected automatically. The connected device will be configured, and the connection will be established automatically. If there is any difficulty establishing the connection, you may select Custom to enter your carrier’s APN, Login, Password, and Dial Number settings manually. The correct values can be obtained from your carrier. The default and recommended setting is Auto.

Clicking the will allow users to configure Multi-APN Connectivity settings.

APN / Login / Password / SIM PIN

When Auto is selected, the information in these fields will be filled automatically. Select Custom to customize these parameters. The parameter values are determined by and can be obtained from the ISP.

Bandwidth Allowance Monitor

Check the box Enable to enable bandwidth usage monitoring on this WAN connection for each billing cycle. When this option is not enabled, bandwidth usage of each month is still being tracked but no action will be taken.

Action

If email notification is enabled, you will be notified by email when usage hits 75% and 95% of the monthly allowance. If Disconnect when usage hits 100% of monthly allowance is checked, this WAN connection will be disconnected automatically when the usage hits the monthly allowance. It will not resume connection unless this option has been turned off or the usage has been reset when a new billing cycle starts.

Start Day

This option allows you to define which day of the month each billing cycle begins.

Monthly Allowance

This field is for defining the maximum bandwidth usage allowed for the WAN connection each month.

Multi-APN Connectivity

Allows this connection to establish multiple simultaneous data sessions using different APNs. Each APN can be routed separately.

For supported models, refer to Firmware 8.6.0 – Release Notes, #25292.

Signal Threshold Settings

If signal threshold is defined, this connection will be treated as down when a weaker than threshold signal is determined.

The following values are used by the threshold scale:

To define the threshold manually using specific signal strength values, please click on the question mark and the following field will be visible.

Note: Signal strength value customization is only available on supported models. (Refer to Release Note - 8.6.0 RC4 #30572.)

14.2.4. USB WAN

WAN Connection Settings

WAN Connection Name

Indicate a name you wish to give this WAN connection.

Enable

This setting enables the WAN connection. If schedules have been defined, you will be able to select a schedule to apply to the connection.

DNS Server

Each ISP may provide a set of DNS servers for DNS lookups. This setting specifies the DNS (Domain Name System) servers to be used when a DNS lookup is routed through this connection.

Selecting Obtain DNS server address automatically results in the DNS servers assigned by the WAN DHCP server being used for outbound DNS lookups over the connection. (The DNS servers are obtained along with the WAN IP address assigned by the DHCP server.) When Use the following DNS server address(es) is selected, you may enter custom DNS server addresses for this WAN connection into the DNS server 1 and DNS server 2 fields.

Connection Priority

This option allows you to configure the WAN connection whether for normal daily usage or as a backup connection only.

If Always-on is chosen, the WAN connection will be kept on continuously, regardless of the priority of other WAN connections.

If Backup is chosen, the WAN connection will depend on other WAN connections. It will not be used when one or more higher priority dependent WAN connections are connected.

Standby State

This option allows you to choose whether to remain the connection connected or disconnect it when this WAN connection is no longer in the highest priority and has entered the standby state.

Idle Disconnect

If this is checked, the connection will disconnect when idle after the configured Time value.
This option is disabled by default.

Reply to ICMP Ping

If the checkbox is unticked, this option is disabled and the system will not reply to any ICMP ping echo requests to the WAN IP addresses of this WAN connection.

Default: ticked (Yes)

By default, the USB port is “USB Modem” mode. If you need to use it to connect to USB Ethernet Adapter, you need to change it to “USB Ethernet” mode, by enabling the hidden feature Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg. Once this feature is enabled, the interface will behave as normal Ethernet WAN. The options that are the same as the Ethernet WAN connection configuration are shown in the Ethernet WAN section.

ModemSettings

Operator Settings

This setting allows you to configure the APN settings of your connection. If Auto is selected, the mobile operator should be detected automatically. The connected device will be configured and connection will be made automatically. If there is any difficulty in making connections, you may select Custom to enter your carrier’s APN, Login, Password, and Dial Number settings manually. The correct values can be obtained from your carrier. The default and recommended setting is Auto.

APN / Login / Password / SIM PIN

When Auto is selected, the information in these fields will be filled automatically. Select Custom to customize these parameters. The parameter values are determined by and can be obtained from the ISP.

14.2.5. Virtual WAN on VLAN

WAN Connection Settings

WAN Connection Name

Indicate a name you wish to give this WAN connection.

Enable

This setting enables the WAN connection. If schedules have been defined, you will be able to select a schedule to apply to the connection.

Connection Priority

This option allows you to configure the WAN connection whether for normal daily usage or as a backup connection only.

If Always-on is chosen, the WAN connection will be kept on continuously, regardless of the priority of other WAN connections.

If Backup is chosen, the WAN connection will depend on other WAN connections. It will not be used when one or more higher priority dependent WAN connections are connected.

Independent from Backup WANs

If this is checked, the connection will be working independent from other Backup WAN connections. Those in Backup Priority will ignore the status of this WAN connection, and will be used when none of the other higher priority connections are available.

Connection Method

This option allows you to select the connection method for this WAN connection. The available options are DHCP and Static IP.

Routing Mode

This field shows that NAT (network address translation) will be applied to the traffic routed over this WAN connection. IP Forwarding is available when you click the link in the help icon.

DNS Server

Each ISP may provide a set of DNS servers for DNS lookups. This setting specifies the DNS (Domain Name System) servers to be used when a DNS lookup is routed through this connection.

Selecting Obtain DNS server address automatically results in the DNS servers assigned by the WAN DHCP server being used for outbound DNS lookups over the connection. (The DNS servers are obtained along with the WAN IP address assigned by the DHCP server.) When Use the following DNS server address(es) is selected, you may enter custom DNS server addresses for this WAN connection into the DNS server 1 and DNS server 2 fields.

Standby State

This option allows you to choose whether to remain the connection connected or disconnect it when this WAN connection is no longer in the highest priority and has entered the standby state.

Reply to ICMP Ping

If the checkbox is unticked, this option is disabled and the system will not reply to any ICMP ping echo requests to the WAN IP addresses of this WAN connection.

Default: ticked (Yes)

Upload Bandwidth

This field refers to the maximum upload speed.

This value is referenced when default weight is chosen for outbound traffic and traffic prioritization. A correct value can result in effective traffic prioritization and efficient use of upstream bandwidth.

Download Bandwidth

This field refers to the maximum download speed.

Default weight control for outbound traffic will be adjusted according to this value.

Enforced Bandwidth Limit

When enabled, actual WAN traffic is limited based on the upload and download values configured above.

Note: These bandwidth values are always enforced when one or more Application Queues are in use, regardless of whether this option is enabled.

Physical Interface Settings

MTU

This field is for specifying the Maximum Transmission Unit value of the WAN connection. An excessive MTU value can cause file downloads to stall shortly after connected. You may consult your ISP for the connection's MTU value. Default value is 1440.

MSS

This field is for specifying the Maximum Segment Size of the WAN connection.

When Auto is selected, MSS will depend on the MTU value. When Custom is selected, you may enter a value for MSS. This value will be announced to remote TCP servers for maximum data that it can receive during the establishment of TCP connections.

Some Internet servers are unable to listen to MTU setting if ICMP is filtered by firewall between the connections.

Normally, MSS equals MTU minus 40. You are recommended to reduce the MSS only if changing of the MTU value cannot effectively inform some remote servers to size down data size.

Default: Auto

Uplink Interface

This field is for selecting the WAN / LAN as the uplink interface of the Virtual WAN on VLAN connection.

VLAN

Enter the correct VLAN ID for the Virtual WAN on VLAN.

802.1p CoS

Allows users to assign a priority (0-7) to the traffic.

0 - Best Effort

1 - Background

2 - Excellent Effort

3 - Critical Applications

4 - Video

5 - Voice

6 - Internetwork Control

7 - Network Control

14.2.6. OpenVPN WAN

OpenVPN WAN is a standalone “WAN” which will appear in both your router and your InControl2 dashboards. You will be able to configure the priority of the physical WANs to connect to the OpenVPN server (similar to IPsec’s “WAN Connection Priority”). You can also customize OpenVPN’s outbound policy, firewall, etc.

* OpenVPN WAN license is required.

WAN Connection Settings

WAN Connection Name

Enter a name to represent this WAN connection.

Enable

This setting enables the WAN connection. If schedules have been defined, you will be able to select a schedule to apply to the connection.

Connection Method

OpenVPN.

Routing Mode

This field shows that NAT (network address translation) will be applied to the traffic routed over this WAN connection. IP Forwarding is available when you click the link in the help icon.

OpenVPN Profile

Upload the OpenVPN profile (.ovpn) from the OpenVPN server.

Login Credential (Optional)

This field is optional to key in the respective username and password to connect to OpenVPN server if needed.

DNS Servers

Each ISP may provide a set of DNS servers for DNS lookups. This setting specifies the

DNS (Domain Name System) servers to be used when a DNS lookup is routed through this

connection.

Selecting Obtain DNS server address automatically results in the DNS servers assigned by the WAN DHCP server being used for outbound DNS lookups over the connection. (The DNS servers are obtained along with the WAN IP address assigned by the DHCP server.) When the following DNS server address(es) is selected, you may enter custom DNS server addresses for this WAN connection into the DNS server 1 and DNS server 2 fields.

Connection Priority

This option allows you to configure the WAN connection whether for normal daily usage or as a backup connection only.

If Always-on is chosen, the WAN connection will be kept on continuously, regardless of the priority of other WAN connections.

If Backup is chosen, the WAN connection will depend on other WAN connections. It will not be used when one or more higher priority dependent WAN connections are connected.

Standby State

This option allows you to choose whether to remain connected when this WAN connection is no longer in the highest priority and has entered the standby state. When Remain connected is chosen, upon bringing up this WAN connection to active, it will be immediately available for use.

If this WAN connection is charged by connection time, you may want to set this option to Disconnect so that connection will be made only when needed.

SpeedFusion VPN may use connected standby WAN for failover if link failure is detected on the higher priority WAN, you can set this option to Disconnect to avoid data passing through.

Reply to ICMP PING

If the checkbox is unticked, this option is disabled and the system will not reply to any ICMP ping echo requests to the WAN IP addresses of this WAN connection.

Default: ticked (Yes)

Upload Bandwidth

This field refers to the maximum upload speed.

This value is referenced when default weight is chosen for outbound traffic and traffic prioritization. A correct value can result in effective traffic prioritization and efficient use of upstream bandwidth.

Download Bandwidth

This field refers to the maximum download speed.

Default weight control for outbound traffic will be adjusted according to this value.

Enforced Bandwidth Limit

When enabled, actual WAN traffic is limited based on the upload and download values configured above.

Note: These bandwidth values are always enforced when one or more Application Queues are in use, regardless of whether this option is enabled.

Physical Interface Settings (OpenVPN)

MTU

This field is for specifying the Maximum Transmission Unit value of the WAN connection. An excessive MTU value can cause file downloads to stall shortly after connected. You may consult your ISP for the connection’s MTU value. Default value is 1440.

Uplink Connection Priority

Specify the order of WAN connections to be used to establish this OpenVPN connection. The healthy WAN with highest priority will be used.

When Failback on Connection Recovery is enabled, once a higher priority WAN is recovered, OpenVPN connection will be disconnected and use that WAN to establish the connection again.

14.2.7. Physical Interface Settings (Common)

The remaining WAN-related settings are common to both Ethernet and cellular WAN.

Physical Interface Settings

Speed

This is the port speed of the WAN connection. It should be set to the same speed as the connected device in case of any port negotiation problems.

When a static speed is set, you may choose whether to advertise its speed to the peer device or not. Advertise Speed is selected by default. You can choose not to advertise the port speed if the port has difficulty in negotiating with the peer device.

Default: Auto

MTU

This field is for specifying the Maximum Transmission Unit value of the WAN connection. An excessive MTU value can cause file downloads to stall shortly after connected. You may consult your ISP for the connection's MTU value. Default value is 1440.

MSS

This field is for specifying the Maximum Segment Size of the WAN connection.

When Auto is selected, MSS will depend on the MTU value. When Custom is selected, you may enter a value for MSS. This value will be announced to remote TCP servers for maximum data that it can receive during the establishment of TCP connections.

Some Internet servers are unable to listen to MTU setting if ICMP is filtered by firewall between the connections.

Normally, MSS equals MTU minus 40. You are recommended to reduce the MSS only if changing of the MTU value cannot effectively inform some remote servers to size down data size.

Default: Auto

MAC Address Clone

Some service providers (e.g. cable network) identify the client's MAC address and require client to always use the same MAC address to connect to the network. If it is the case, you may change the WAN interface's MAC address to the client PC's one by entering the PC's MAC address to this field. If you are not sure, click the Default button to restore to the default value.

VLAN

Check the box to assign a VLAN to the interface.

802.1p CoS

Allows users to assign a priority (0-7) to the traffic.

0 - Best Effort

1 - Background

2 - Excellent Effort

3 - Critical Applications

4 - Video

5 - Voice

6 - Internetwork Control

7 - Network Control

DHCP Settings

Hostname
(Optional)

If your service provider's DHCP server requires you to supply a hostname value upon

acquiring an IP address, you may enter the value here. If your service provider does not

provide you with a hostname, you can safely bypass this option.

DNS Servers

Each ISP may provide a set of DNS servers for DNS lookups. This setting specifies the

DNS (Domain Name System) servers to be used when a DNS lookup is routed through this

connection.

Selecting Obtain DNS server address automatically results in the DNS servers assigned by the WAN DHCP server being used for outbound DNS lookups over the connection. (The DNS servers are obtained along with the WAN IP address assigned by the DHCP server.) When Use the following DNS server address(es) is selected, you may enter custom DNS server addresses for this WAN connection into the DNS server 1 and DNS server 2 fields.

14.2.8. WAN Health Check

To ensure traffic is routed to healthy WAN connections only, the Peplink Balance can periodically check the health of each WAN connection.

Health Check settings for each WAN connection can be independently configured via Network > WAN > *Connection name* > Health Check Settings.

Enable Health Check by selecting PING, DNS Lookup, or HTTP from the Health Check Method drop-down menu.

Health Check Settings

Method

This setting specifies the health check method for the WAN connection. This value can be configured as Disabled, PING, DNS Lookup, or HTTP. The default method is DNS Lookup. For mobile Internet connections, the value of Method can be configured as Disabled or SmartCheck.

Health Check Disabled

Health Check Settings Disabled

When Disabled is chosen in the Method field, the WAN connection will always be considered as up. The connection will NOT be treated as down in the event of IP routing errors.

Health Check Method: PING

HC Ping

ICMP ping packets will be issued to test the connectivity with a configurable target IP address or hostname. A WAN connection is considered as up if ping responses are received from either one or both of the ping hosts.

PING Hosts

This setting specifies IP addresses or hostnames with which connectivity is to be tested via ICMP ping. If Use first two DNS servers as Ping Hosts is checked, the target ping host will be the first DNS server for the corresponding WAN connection. Reliable ping hosts with a high uptime should be considered. By default, the first two DNS servers of the WAN connection are used as the ping hosts.

Health Check Method: DNS Lookup

HC DNS

DNS lookups will be issued to test connectivity with target DNS servers. The connection will be treated as up if DNS responses are received from one or both of the servers, regardless of whether the result was positive or negative.

Health Check DNS Servers

This field allows you to specify two DNS hosts’ IP addresses with which connectivity is to be tested via DNS Lookup.

If Use first two DNS servers as Health Check DNS Servers is checked, the first two DNS servers will be the DNS lookup targets for checking a connection's health. If the box is not checked, Host 1 must be filled, while a value for Host 2 is optional.

If Include public DNS servers is selected and no response is received from all specified DNS servers, DNS lookups will also be issued to some public DNS servers. A WAN connection will be treated as down only if there is also no response received from the public DNS servers.

Connections will be considered as up if DNS responses are received from any one of the health check DNS servers, regardless of a positive or negative result. By default, the first two DNS servers of the WAN connection are used as the health check DNS servers.

Health Check Method: HTTP

HC HTTP

HTTP connections will be issued to test connectivity with configurable URLs and strings to match.

URL1

WAN Settings>WAN Edit>Health Check Settings>URL1

HTTP request will be sent according to the specified URL. Health check result is determined based on the HTTP response status code. Status code 2xx, 301 and 302 are classified as success. If Matching String is provided, health check will be determined as success only when the HTTP response content contains the specified string.

URL 2

WAN Settings>WAN Edit>Health Check Settings>URL2

If URL2 is also provided, a health check will pass if either one of the tests passed.

Other Health Check Settings

HC Other

Timeout

This setting specifies the timeout in seconds for ping/DNS lookup requests. The default timeout is 5 seconds.

Health Check Interval

This setting specifies the time interval in seconds between ping or DNS lookup requests. The default health check interval is 5 seconds.

Health Check Retries

This setting specifies the number of consecutive ping/DNS lookup timeouts after which the Peplink Balance will treat the corresponding WAN connection as down. Default health retries is set to 3. Using the default Health Retries setting of 3, the corresponding WAN connection will be treated as down after three consecutive timeouts.

Recovery Retries

This setting specifies the number of consecutive successful ping/DNS lookup responses that must be received before the Peplink Balance treats a previously down WAN connection as up again. By default, Recover Retries is set to 3. Using the default setting, a WAN connection that is treated as down will be considered as up again upon receiving three consecutive successful ping/DNS lookup responses.

Note

If a WAN connection goes down, all of the WAN connections not set with a Connection Type of Always-on will also be brought up until any one of higher priority WAN connections is up and found to be healthy. This design could increase overall network availability.

For example, if WAN1, WAN2, and WAN3 have connection types of Always-on, Backup Priority Group 1, and Backup Priority Group 2, respectively, when WAN1 goes down, WAN2 and WAN3 will try to connect. If WAN3 is connected first, WAN2 will still be kept connecting. If WAN2 is connected, WAN3 will disconnect or stop connecting.

Automatic Public DNS Server Check on DNS Test Failure

When the health check method is set to DNS Lookup and checks fail, the Balance will automatically perform DNS lookups on some public DNS servers. If the tests are successful, the WAN may not be down, but rather the target DNS server malfunctioned. You will see the following warning message on the main page:

14.2.9. Bandwidth Allowance Monitor Settings

Bandwidth Allowance Monitor

Action

If Email Notification is enabled, you will be notified by email when usage hits 75% and 95% of the monthly allowance.

If Disconnect when usage hits 100% of monthly allowance is checked, this WAN connection will be disconnected automatically when the usage hits the monthly allowance. It will not resume connection unless this option has been turned off or the usage has been reset when a new billing cycle starts.

Start Day

This option allows you to define which day of the month each billing cycle begins.

Monthly Allowance

This field is for defining the maximum bandwidth usage allowed for the WAN connection each month.

Disclaimer

Due to different network protocol overheads and conversions, the amount of data reported by this Peplink device is not representative of actual billable data usage as metered by your network provider. Peplink disclaims any obligation or responsibility for any events arising from the use of the numbers shown here.

14.2.10. Additional Public IP Settings

Additional Public IP Settings

IP Address List

IP Address List represents the list of fixed Internet IP addresses assigned by the ISP in the event that more than one Internet IP address is assigned to this WAN connection. Enter the fixed Internet IP addresses and the corresponding subnet mask, and then click the Down Arrow button to populate IP address entries to the IP Address List.

14.2.11. Dynamic DNS Settings

Peplink Balance routers allow registering domain name relationships to dynamic DNS service providers. Through registration with dynamic DNS service provider(s), the default public Internet IP address of each WAN connection can be associated with a hostname. With dynamic DNS service enabled for a WAN connection, you can connect to your WAN's IP address externally even if its IP address is dynamic. You must register for an account from the listed dynamic DNS service providers before enabling this option.

If the WAN connection's IP address is a reserved private IP address (i.e., behind a NAT router), the public IP of each WAN will be automatically reported to the DNS service provider.

Either upon a change in IP addresses or every 23 days without link reconnection, the Peplink Balance will connect to the dynamic DNS service provider to update the provider’s IP address records.

The settings for dynamic DNS service provider(s) and the association of hostname(s) are configured via Network>Interfaces>WAN>*Connection name*>Dynamic DNS Settings.

If your desired provider is not listed, you may check with DNS-O-Matic. This service supports updating 30 other dynamic DNS service providers. (Note: Peplink is not affiliated with DNS-O-Matic.)

Dynamic DNS Settings

Service Provider

This setting specifies the dynamic DNS service provider to be used for the WAN. Supported providers are:

  • changeip.com
  • dyndns.org
  • no-ip.org
  • tzo.com
  • DNS-O-Matic
  • Others…

support custom Dynamic DNS servers by entering its URL. Works with any service compatible with DynDNS API.

Select Disabled to disable this feature.

User ID / Username / Email

This setting specifies the registered user name for the dynamic DNS service.

Password

This setting specifies the password for the dynamic DNS service.

Update All Hosts

Check this box to automatically update all hosts.

Hosts

This setting specifies a list of hostnames or domains to be associated with the public Internet IP address of the WAN connection.

Important Note

In order to use dynamic DNS services, appropriate hostname registration(s), as well as a valid account with a supported dynamic DNS service provider, are required.

A dynamic DNS update is performed whenever a WAN’s IP address is changed, such as when an IP is changed after a DHCP IP refresh or reconnection.

Due to dynamic DNS service providers’ policies, a dynamic DNS host expires automatically when the host record has not been updated for a long time. Therefore, the Peplink Balance performs an update every 23 days, even if a WAN’s IP address did not change.

14.3. VPN

14.3.1. SpeedFusion VPN

Peplink Balance SpeedFusionTM Bandwidth Bonding is our patented technology that enables our SD-WAN routers to bond multiple Internet connections to increase site-to-site bandwidth and reliability. SpeedFusion securely connects one or more branch offices to your company's main headquarters or to other branches. The data, voice, and video communications between these locations are kept confidential across the public Internet.

The SpeedFusionTM of the Peplink Balance is specifically designed for multi-WAN environments. With SpeedFusion, in case of failures and network congestion at one or more WANs, other WANs can be used to continue carrying the network traffic. Peplink Balance routers can bond all WAN connections’ bandwidth for routing SpeedFusionTM traffic. Unless all the WAN connections of one site are down, the Peplink Balance can keep the VPN up and running.
Bandwidth bonding is enabled by default. 

To begin, navigate to Advanced > SpeedFusion VPN and enter a Local ID and click save.

This device will be identified by other SpeedFusion VPN Peers by this local ID. The following menus will appear:

SpeedFusion VPN Profile

This table displays all defined profiles. Click the New Profile button to create a new profile for making a VPN connection to a remote unit via available WAN connections. Each pair of VPN connection requires its own profile.

The local LAN subnet and subnets behind the LAN (defined under Static Route on the LAN Settings page) will be advertised to the VPN. All VPN members will be able to route to local subnets.

Send All Traffic To

This feature allows you to redirect all traffic to a specified SpeedFusion VPN connection. Click the Edit button to select your connection and the following menu will appear:

You could also specify a DNS server to resolve incoming DNS requests. Click the checkbox next to Backup Site to designate a backup SpeedFusion profile that will take over should the main SpeedFusion VPN connection fail.

SpeedFusion VPN Local ID

This feature allows you to change the local ID of a SpeedFusion VPN connection. Click the Edit button to select your connection and the following menu will appear:

After updating the local ID, click Save to store your changes.

Link Failure Detection Settings

Cold Failover Mode

Enabling Cold Failover Mode turns off link failure detection for standby WAN-to-WAN links, helping to lower bandwidth consumption.

Link Failure Detection Time

The bonded VPN can detect routing failures on the path between two sites over each WAN connection. Failed WAN connections will not be used to route VPN traffic. Health check packets are sent to the remote unit to detect any failure. The more frequently checks are sent, the shorter the detection time, although more bandwidth will be consumed.

When Recommended (default) is selected, a health check packet is sent every five seconds, and the expected detection time is 15 seconds.

When Fast is selected, a health check packet is sent every three seconds, and the expected detection time is six seconds.

When Faster is selected, a health check packet is sent every second, and the expected detection time is two seconds.

When Extreme is selected, a health check packet is sent every 0.1 second, and the expected detection time is less than one second.

Important Note

Peplink proprietary SpeedFusionTM uses TCP port 32015 and UDP port 4500 for establishing VPN connections. If you have a firewall in front of your Peplink Balance devices, you will need to add firewall rules for these ports and protocols to allow inbound and outbound traffic to pass through the firewall.

SpeedFusion: Profile Configuration

Click the New Profile button, or click one of the existing profiles, and the following menus will appear:

A list of defined SpeedFusion VPN connection profiles and a Link Failure Detection Time option will be shown. Click the New Profile button to create a new VPN connection profile for making a VPN connection to a remote Peplink Balance via the available WAN connections. Each profile is for making a VPN connection with one remote Peplink Balance.

SpeedFusion VPN Profile

Name

This field is for specifying a name to represent this profile. The name can be any combination of alphanumeric characters (0-9, A-Z, a-z), underscores (_), dashes (-), and/or non-leading/trailing spaces ( ).

Click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg icon next to the SpeedFusion VPN Profile title bar to use the IP ToS field of your data packet on SpeedFusion VPN WAN traffic.

Enable

When this box is checked, this VPN connection profile will be enabled. Otherwise, it will be disabled.

Encryption

By default, VPN traffic is encrypted with 256-bit AES. If Off is selected on both sides of a VPN connection, no encryption will be applied.

Authentication

Select from By Remote ID Only, Preshared Key, or X.509 to specify the method the Peplink Balance will use to authenticate peers. When selecting By Remote ID Only, be sure to enter a unique peer ID number in the Remote ID field.

Remote ID /

Pre-shared Key

This optional field becomes available when Remote ID / Pre-shared Key is selected as the Peplink Balance’s VPN Authentication method, as explained above. Pre-shared Key defines the pre-shared key used for this particular VPN connection. The VPN connection's session key will be further protected by the pre-shared key. The connection will be up only if the pre-shared keys on each side match. When the peer is running firmware 5.0+, this setting will be ignored.

Enter Remote IDs either by typing out each Remote ID and Pre-shared Key, or by pasting a CSV. If you wish to paste a CSV, click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg icon next to the “Remote ID / Preshared Key” setting.

Remote ID/Remote Certificate

These optional fields become available when X.509 is selected as the Peplink Balance’s VPN authentication method, as explained above. To authenticate VPN connections using X.509 certificates, copy and paste certificate details into these fields. To get more information on a listed X.509 certificate, click the Show Details link below the field.

Allow Shared Remote ID

When this option is enabled, the router will allow multiple peers to run using the same remote ID.

NAT Mode

Check this box to allow the local DHCP server to assign an IP address to the remote peer. When NAT Mode is enabled, all remote traffic over the VPN will be tagged with the assigned IP address using network address translation.

Remote IP Address / Host Names (Optional)

If NAT Mode is not enabled, you can enter a remote peer’s WAN IP address or hostname(s) here. If the remote uses more than one address, enter only one of them here. Multiple hostnames are allowed and can be separated by a space character or carriage return. Dynamic-DNS host names are also accepted.

This field is optional. With this field filled, the Peplink Balance will initiate connection to each of the remote IP addresses until it succeeds in making a connection. If the field is empty, the Peplink Balance will wait for connection from the remote peer. Therefore, at least one of the two VPN peers must specify this value. Otherwise, VPN connections cannot be established.

Click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg icon to customize the handshake port of the remote Host (TCP).

Cost

Define path cost for this profile.

OSPF will determine the best route through the network using the assigned cost.

Default: 10

Advertise Routes to Peer

If NAT mode is enabled, the user can choose to enable this option.

By default, this device advertises routes to the remote peer. The remote peer does not advertise routes to this device because it is behind NAT. Uncheck this option to stop route advertisement. Note that an Outbound Policy on the remote peer may be needed to route traffic to destinations outside the DHCP subnet.

Data Port

This field is used to specify a UDP port number for transporting outgoing VPN data. If Default is selected, UDP port 4500 will be used. Port 32015 will be used if the remote unit uses Firmware prior to version 5.4 or if port 4500 is unavailable. If Custom is selected, enter an outgoing port number from 1 to 65535.

Click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg icon to configure data stream using TCP protocol [EXPERIMENTAL]. In the case TCP protocol is used, the exposed TCP session option can be authorised to work with TCP accelerated WAN link.

Bandwidth Limit

Define maximum download and upload speed to each individual peer. This functionality requires the peer to use PepVPN version 4.0.0 or above.

SpeedFusion Boost

Enabling this option helps improve throughput when the connection suffers from packet loss and high latency.

TCP Ramp Up

For every new TCP connection, Normal WAN Smoothing will be applied for a short period of time to prevent packet loss during TCP Slow Start, which in some conditions will ramp up TCP throughput faster.

WAN Smoothing

While using PepVPN, utilize multiple WAN links to reduce the impact of packet loss and get the lowest possible latency at the expense of extra bandwidth consumption. This is suitable for streaming applications where the average bitrate requirement is much lower than the WAN's available bandwidth.

Off - Disable WAN Smoothing.

Normal - The total bandwidth consumption will be at most 2x of the original data traffic.

Medium - The total bandwidth consumption will be at most 3x of the original data traffic.

High - The total bandwidth consumption depends on the number of connected active tunnels.

Forward Error Correction

Forward Error Correction (FEC) can help to recover packet loss by using extra bandwidth to send redundant data packets. Higher FEC level will recover packets on a higher loss rate link.

The expected overhead of Low is 13.3% and High is 26.7%.

Require peer using PepVPN version 8.0.0 and above.

Receive Buffer

Receive Buffer can help to reduce out-of-order packets and jitter, but will introduce extra latency to the tunnel. Default is 0 ms, which disables the buffer, and maximum buffer size is 2000 ms.

Packet Fragmentation

If the packet size is larger than the tunnel's MTU, it will be fragmented inside the tunnel in order to pass through.

Select Always to fragment any packets that are too large to send, or Use DF Flag to only fragment packets with Don't Fragment bit cleared. This can be useful if your application does Path MTU Discovery, usually sending large packets with DF bit set, if allowing them to go through by fragmentation, the MTU will not be detected correctly.

Use IP ToSA

If Use IP ToS is enabled, the ToS value of the data packets will be copied to the PepVPN header during encapsulation.

Latency Difference CutoffA

Traffic will be stopped for links that exceed the specified millisecond value with respect to the lowest latency link. (e.g. Lowest latency is 100ms, a value of 500ms means links with latency 600ms or more will not be used)

A - Advanced feature, please click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button on the top right-hand corner to activate.

To enable Layer 2 Bridging between PepVPN profiles, navigate to Network>LAN>*LAN Profile Name*.

Traffic Distribution

Policy

This option allows you to select the desired out-bound traffic distribution policy:

  • Bonding - Aggregate multiple WAN-to-WAN links into a single higher throughput tunnel.
  • Dynamic Weighted Bonding - Aggregates WAN-to-WAN links with similar latencies.

By default, Bonding is selected as a traffic distribution policy.

Congestion Latency Level

For most WANs, especially on cellular networks, the latency will increase when the link becomes more congested.

Setting the Congestion Latency Level to Low will treat the link as congested more aggressively.

Setting it to High will allow the latency to increase more before treating it as congested.

Ignore Packet Loss Event

By default, when there is packet loss, it is considered as a congestion event. If this is not the case, select this option to ignore the packet loss event.

Disable Bufferbloat Handling

Bufferbloat is a phenomenon on the WAN side when it is congested. The latency can become very high due to buffering on the uplink. By default, the Dynamic Weighted Bonding policy will try its best to mitigate bufferbloat by reducing TCP throughput when the WAN is congested. However, as a side effect, the tunnel might not achieve maximum bandwidth.

Selecting this option will disable the bufferbloat handling mentioned above.

Disable TCP ACK Optimization

By default, TCP ACK will be forwarded to remote peers as fast as possible. This will consume more bandwidth, but may help to improve TCP performance as well.

Selecting this option will disable the TCP ACK optimization mentioned above.

Packet Jitter Buffer

The default jitter buffer is 150ms, and can be modified from 0ms to 500ms. The jitter buffer may increase the tunnel latency. If you want to keep the latency as low as possible, you can set it to 0ms to disable the buffer.

Note: If the Receive Buffer is set, the Packet Jitter Buffer will be automatically disabled.

Description: WAN Connection Priority

WAN Connection Priority

WAN Connection Priority

If your device supports it, you can specify the priority of WAN connections to be used for making VPN connections. WAN connections set to OFF will never be used. Only available WAN connections with the highest priority will be used.

To enable asymmetric connections, connection mapping to remote WANs, cut-off latency, and packet loss suspension time, click the Description: Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button.

Peplink also published a whitepaper about SpeedFusion which can be downloaded from the following url:
http://download.peplink.com/resources/whitepaper-speedfusion-and-best-practices-2019.pdf

14.3.2. IPsec VPN

Peplink Balance IPsec VPN functionality securely connects one or more branch offices to your company's main headquarters or to other branches. Data, voice, and video communications between these locations are kept safe and confidential across the public Internet.

All Peplink products can make multiple IPsec VPN connections with Peplink routers, as well as Cisco and Juniper routers.

Note that all LAN subnets and the subnets behind them must be unique. Otherwise, VPN members will not be able to access each other.

All data can be routed over the VPN with a selection of encryption standards, such as 3DES, AES-128, and AES-256.

To configure, navigate to Advanced > IPsec VPN.

Click the New Profile button to create new IPsec VPN profiles that make VPN connections to remote Peplink Balance, Cisco, or Juniper Routers via available WAN connections. To edit any of the profiles, click on its associated connection name in the leftmost column.

IPsec VPN Settings

Name

This field is for specifying a local name to represent this connection profile.

Active

When this box is checked, this IPsec VPN connection profile will be enabled. Otherwise, it will be disabled.

IKE Version

Two versions of the IKE standards are available:

  • IKEv1
  • IKEv2

Connect Upon Disconnection of

Check this box and select a WAN to connect to this VPN automatically when the specified WAN is disconnected. To activate this function, click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button next to the “Active” option.

Remote Gateway IP Address / Host Name

Enter the remote peer’s public IP address. For Aggressive Mode, this is optional.

IPsec Type

Policy-based - (default) All the matched traffic as defined in Local Networks and Remote Networks will be routed to this IPsec connection, this cannot be overridden by other routing methods.

Route-based - Outbound Policy rule is required to route traffic to this tunnel and comes with more flexibility to control how to route traffic compared to Policy-based. If you want to modify the traffic selector instead of using the default (0.0.0.0/0).

Note: This option is only available for the following models:

  • Balance: 30 LTE/Pro, One/Two, 210/310 HW4 or above, 305/380 or above
  • MediaFast
  • X series

Local Networks

Enter the local LAN subnets here. If you have defined static routes, they will be shown here.

Using NAT, you can map a specific local network / IP address to another, and the packets received by remote gateway will appear to be coming from the mapped network / IP address. This allows you to establish IPsec connection to a remote site that has one or more subnets overlapped with local site.

Two types of NAT policies can be defined:

One-to-One NAT policy: if the defined subnet in Local Network and NAT Network has the same size, for example, policy "192.168.50.0/24 > 172.16.1.0/24" will translate the local IP address 192.168.50.10 to 172.16.1.10 and 192.168.50.20 to 172.16.1.20. This is a bidirectional mapping which means clients in remote site can initiate connection to the local clients using the mapped address too.

Many-to-One NAT policy: if the defined NAT Network on the right hand side is an IP address (or having a network prefix /32), for example, policy "192.168.1.0/24 > 172.168.50.1/32" will translate all clients in 192.168.1.0/24 network to 172.168.50.1. This is a unidirectional mapping which means clients in remote site will not be able to initiate a connection to the local clients.

Remote Networks

Enter the LAN and subnets that are located at the remote site here.

Authentication

To access your VPN, clients will need to authenticate by your choice of methods. Choose between the Preshared Key and X.509 Certificate methods of authentication.

Mode

Choose Main Mode if both IPsec peers use static IP addresses. Choose Aggressive Mode if one of the IPsec peers uses dynamic IP addresses.

Force UDP Encapsulation

For forced UDP encapsulation regardless of NAT-traversal, tick this checkbox.

Pre-shared Key

This defines the peer authentication pre-shared key used to authenticate this VPN connection. The connection will be up only if the pre-shared keys on each side match.

Remote Certificate (pem encoded)

Available only when X.509 Certificate is chosen as the Authentication method, this field allows you to paste a valid X.509 certificate.

Local ID

In Main Mode, this field can be left blank. In Aggressive Mode, if Remote Gateway IP Address is filled on this end and the peer end, this field can be left blank. Otherwise, this field is typically a U-FQDN.

Remote ID

In Main Mode, this field can be left blank. In Aggressive Mode, if Remote Gateway IP Address is filled on this end and the peer end, this field can be left blank. Otherwise, this field is typically a U-FQDN.

Phase 1 (IKE) Proposal

In Main Mode, this allows setting up to six encryption standards, in descending order of priority, to be used in initial connection key negotiations. In Aggressive Mode, only one selection is permitted.

Phase 1 DH Group

This is the Diffie-Hellman group used within IKE. This allows two parties to establish a shared secret over an insecure communications channel. The larger the group number, the higher the security.

Group 2: 1024-bit is the default value.

Group 5: 1536-bit is the alternative option.

Phase 1 SA Lifetime

This setting specifies the lifetime limit of this Phase 1 Security Association. By default, it is set at 3600 seconds.

Phase 2 (ESP) Proposal

In Main Mode, this allows setting up to six encryption standards, in descending order of priority, to be used for the IP data that is being transferred. In Aggressive Mode, only one selection is permitted.

Phase 2 PFS Group

Perfect forward secrecy (PFS) ensures that if a key was compromised, the attacker will be able to access only the data protected by that key.

None - Do not request for PFS when initiating connection. However, since there is no valid reason to refuse PFS, the system will allow the connection to use PFS if requested by the remote peer. This is the default value.

Group 2: 1024-bit Diffie-Hellman group. The larger the group number, the higher the security.

Group 5: 1536-bit is the third option.

Phase 2 SA Lifetime

This setting specifies the lifetime limit of this Phase 2 Security Association. By default, it is set at 28800 seconds.

IPsec VPN on the Peplink Balance is specially designed for multi-WAN environments. For instance, if a user sets up multiple IPsec profiles for his multi-WAN environment and WAN1 is connected and healthy, IPsec traffic will go through this link. However, should unforeseen problems (e.g.,unplugged cables or ISP problems) cause WAN1 to go down, our IPsec implementation will make use of WAN2 and WAN3 for failover.

IPsec Status shows the current connection status of each connection profile and is displayed at Status > IPsec VPN.

IPsec Settings

DPD Interval

Time interval between Dead Peer Detection (DPD) messages (R_U_THERE in IKEv1 or INFORMATIONAL in IKEv2) that check if the peer is still active when no other traffic is present.

Default: 10 seconds (2–30 seconds)

DPD Attempts

Total number of DPD messages sent before the peer is considered unreachable.

Default: 3 times (2-10 times)

14.3.3. GRE Tunnel

Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate a wide variety of network layer protocols inside virtual point-to-point links over an Internet Protocol network. A GRE tunnel is similar to IPsec or PepVPN.

To configure a GRE Tunnel, navigate to Advanced > GRE Tunnel.

Click the New Profile button to create new GRE tunnel profiles that establish tunnel connections to remote tunnel endpoints via available WAN connections. To edit the profiles, click on its associated connection name in the leftmost column.

GRE Tunnel Profile Settings

Name

This field is for specifying a name to represent this GRE Tunnel connection profile.

Active

When this box is checked, this GRE Tunnel connection profile will be enabled. Otherwise, it will be disabled.

Connection

Select the appropriate WAN connection from the drop-down menu.

Remote GRE IP Address

This field is for entering the remote GRE’s IP address.

Tunnel Local IP Address

This field is for specifying the tunnel source IP address.

Tunnel Remote IP Address

This field is for specifying the tunnel destination IP address.

Tunnel Subnet Mask

This field is to select the subnet mask that is to be used for the GRE tunnel.

Remote Networks

Input the LAN and subnets that are located at the remote site here.

14.3.4. OpenVPN

OpenVPN is a site to site VPN mode that can encapsulate a wide variety of network layer protocols inside virtual point-to-point links over an Internet Protocol network.

To configure an OpenVPN, navigate to Advanced > OpenVPN and click the New Profile.

OpenVPN Profile Settings

Name

This field is for specifying a name to represent this OpenVPN profile.

Active

When this box is checked, this OpenVPN connection profile will be enabled. Otherwise, it will be disabled.

OpenVPN Profile

Upload the OpenVPN configuration (.ovpn) file from your service provider.

Login Credential (Optional)

This option is optional for you to enter the username and password to log in for the OpenVPN connection if the profile needs to log in.

Connection

Select the appropriate WAN connection from the drop-down menu.

14.4. Outbound Policy

Outbound policies for managing and load balancing outbound traffic are located at

Advanced > Outbound Policy. The menu underneath enables you to define Outbound policy rules:

The bottom-most rule is Default. Edit this rule to change the device’s default manner of controlling outbound traffic for all connections that do not match any of the rules above it. Under the Service heading, click Default to change these settings.

To rearrange the priority of outbound rules, drag and drop them into the desired sequence.

By default, Auto is selected as the Default Rule. You can select Custom to change the algorithm to be used. Please refer to the upcoming sections for the details on the available algorithms.

To create a custom rule, click Add Rule at the bottom of the table.

New Custom Rule Settings

Service Name

This setting specifies the name of the outbound traffic rule.

Enable

This setting specifies whether the outbound traffic rule takes effect. When Enable is checked, the rule takes effect: traffic is matched and actions are taken by the Pepwave router based on the other parameters of the rule. When Enable is unchecked, the rule does not take effect: the Pepwave router disregards the other parameters of the rule.

Click the drop-down menu next to the checkbox to apply a time schedule to this custom rule.

Source

This specifies the source IP address(es) and port number(s) to be matched for the firewall rule. Any, IP Address, IP Network, MAC Address, Client Type (for Outbound and Internal Firewall only), and Client’s Associated SSID can be specified as the Source setting, as indicated in the following screenshots:

When you select Client Type as the Source, a drop-down list will appear for you to choose the different types of client devices.

In addition, a single port, or a range of ports, can be specified for the Source settings.

Destination

This specifies the destination IP address(es) and port number(s) to be matched for the firewall rule. Any, IP Address, IP Network, Domain Name, SpeedFusion Connect, and SpeedFusion VPN Profile can be specified as the Destination setting, as indicated in the following screenshots:

In addition, a single port or a range of ports can be specified for the settings.

Protocol and Port

This setting specifies the IP protocol and port of traffic that matches this rule. Via a drop-down menu, the following protocols can be specified:

  • Any
  • TCP
  • UDP
  • IP
  • DSCP

Alternatively, the Protocol Selection Tool drop-down menu can be used to automatically fill in the protocol and port number of common Internet services (e.g., HTTP, HTTPS, etc.). After selecting an item from the Protocol Selection Tool drop-down menu, the protocol and port number remain manually modifiable.

Algorithm

This setting specifies the behavior of the Peplink router for the custom rule.

One of the following values can be selected:

  • Weighted Balance
  • Persistence
  • Enforced
  • Priority
  • Overflow
  • Least Used
  • Lowest Latency
  • Fastest Response Time

For a full explanation of each Algorithm, please see the following article:

https://forum.peplink.com/t/exactly-how-do-peplinks-load-balancing-algorithmns-work/8059

Load Distribution Weight

This is to define the outbound traffic weight ratio for each WAN connection.

When No connections are available

This field allows you to configure the default action when all the selected Connections are not available.

Drop the Traffic - Traffic will be discarded.

Use Any Available Connections - Traffic will be routed to any available Connection, even if it is not selected in the list.

Fall-through to Next Rule - Traffic will continue to match next Outbound Policy rule just like this rule is inactive.

Terminate Sessions on Link Recovery

This setting specifies whether to terminate existing IP sessions on a less preferred WAN connection in the event that a more preferred WAN connection is recovered. This setting is applicable to the Priority algorithms. By default, this setting is disabled. In this case, existing IP sessions will not be terminated or affected when any other WAN connection is recovered. When this setting is enabled, existing IP sessions may be terminated when another WAN connection is recovered, such that only the preferred healthy WAN connection(s) is used at any point in time.

Expert Mode

Expert Mode is available on some Pepwave routers for use by advanced users. To enable the feature, click on the help icon and click turn on Expert Mode.

In Expert Mode, a new special rule, SpeedFusionTM Routes, is displayed in the Custom Rules table. This rule represents all SpeedFusionTM routes learned from remote VPN peers. By default, this bar is on the top of all custom rules. This position means that traffic for remote VPN subnets will be routed to the corresponding VPN peer. You can create custom Priority or Enforced rules and move them

above the bar to override the SpeedFusionTM routes.

Upon disabling Expert Mode, all rules above the bar will be removed.

Algorithm: Weighted Balance

This setting specifies the ratio of WAN connection usage to be applied on the specified IP protocol and port. This setting is applicable only when Algorithm is set to Weighted Balance.

The amount of matching traffic that is distributed to a WAN connection is proportional to the weight of the WAN connection relative to the total weight. Use the sliders to change each WAN’s weight.

For example, with the following weight settings:

  • Ethernet WAN1: 10
  • Ethernet WAN2: 10
  • Wi-Fi WAN: 10
  • Cellular 1: 10
  • Cellular 2: 10
  • USB: 10

Total weight is 60 = (10 +10 + 10 + 10 + 10 + 10).

Matching traffic distributed to Ethernet WAN1 is 16.7% = (10 / 60) x 100%.

Matching traffic distributed to Ethernet WAN2 is 16.7% = (10 / 60) x 100%.

Matching traffic distributed to Wi-Fi WAN is 16.7% = (10 / 60) x 100%.

Matching traffic distributed to Cellular 1 is 16.7% = (10 / 60) x 100%.

Matching traffic distributed to Cellular 2 is 16.7% = (10 / 60) x 100%.

Matching traffic distributed to USB is 16.7% = (10 / 60) x 100%.

Algorithm: Persistence

The configuration of persistent services is the solution to the few situations where link load distribution for Internet services is undesirable. For example, for security reasons, many e-banking and other secure websites terminate the session when the client computer’s Internet IP address changes mid-session.

In general, different Internet IP addresses represent different computers. The security concern is that an IP address change during a session may be the result of an unauthorized intrusion attempt. Therefore, to prevent damages from the potential intrusion, the session is terminated upon the detection of an IP address change.

Pepwave routers can be configured to distribute data traffic across multiple WAN connections. Also, the Internet IP depends on the WAN connections over which communication actually takes place. As a result, a LAN client computer behind the Pepwave router may communicate using multiple Internet IP addresses. For example, a LAN client computer behind a Pepwave router with three WAN connections may communicate on the Internet using three different IP addresses.

With the persistence feature, rules can be configured to enable client computers to persistently utilize the same WAN connections for e-banking and other secure websites. As a result, a client computer will communicate using one IP address, eliminating the issues mentioned above.

There are two persistent modes: By Source and By Destination.

By Source:

The same WAN connection will be used for traffic matching the rule and originating from the same machine, regardless of its destination. This option will provide the highest level of application compatibility.

By Destination:

The same WAN connection will be used for traffic matching the rule, originating from the same machine, and going to the same destination. This option can better distribute loads to WAN connections when there are only a few client machines.

The default mode is By Source. When there are multiple client requests, they can be distributed (persistently) to WAN connections with a weight. If you choose Auto in Load Distribution, the weights will be automatically adjusted according to each WAN’s Downstream Bandwidth which is specified in the WAN settings page). If you choose Custom, you can customize the weight of each WAN manually by using the sliders.

Algorithm: Enforced

This setting specifies the WAN connection usage to be applied on the specified IP protocol and port. This setting is applicable only when Algorithm is set to Enforced.

Matching traffic will be routed through the specified WAN connection, regardless of the health check status of the WAN connection. Outbound traffic can also be enforced to go through a specified SpeedFusionTM connection.

Algorithm: Priority

This setting specifies the priority of the WAN connections used to route the specified network service. The highest priority WAN connection available will always be used for routing the specified type of traffic. A lower priority WAN connection will be used only when all higher priority connections have become unavailable.

Starting from Firmware 5.2, outbound traffic can be prioritized to go through SpeedFusionTM connection(s). By default, VPN connections are not included in the priority list.

Tip

Configure multiple distribution rules to accommodate different kinds of services.

Algorithm: Overflow

The traffic matching this rule will be routed through the healthy WAN connection that has the highest priority and is not in full load. When this connection gets saturated, new sessions will be routed to the next healthy WAN connection that is not in full load.

Drag and drop to specify the order of WAN connections to be used for routing traffic. Only the highest priority healthy connection that is not in full load will be used.

Algorithm: Least Used

By default, traffic matching this rule will be routed through the healthy WAN connection that is selected in the ‘Connection‘ and has the most available download bandwidth. You can change it to ‘By Uplink’ to choose the connection that has the most available upload bandwidth.

The available download/upload bandwidth of a WAN connection is calculated from the total download/upload bandwidth specified on the WAN settings page and the current download/upload usage. The available bandwidth and WAN selection are determined every time an IP session is established.

Algorithm: Lowest Latency

The traffic matching this rule will be routed through the healthy WAN connection that is selected in Connection and has the lowest latency. Latency checking packets are issued periodically to a nearby router of each WAN connection to determine its latency value. The latency of a WAN is the packet round trip time of the WAN connection. Additional network usage may be incurred as a result.

Tip

The roundtrip time of a 6M down/640k uplink can be higher than that of a 2M down/2M up link because the overall round trip time is lengthened by its slower upload bandwidth, despite its higher downlink speed. Therefore, this algorithm is good for two scenarios:

  • All WAN connections are symmetric; or
  • A latency sensitive application must be routed through the lowest latency WAN, regardless of the WAN’s available bandwidth.

Algorithm: Fastest Response Time

The Fastest Response Time algorithm works as follows:
When a network session is created, the first outgoing packet of that particular session is duplicated to all the available WANs.

When the first response is received from a remote server, any further traffic for this session will be routed over that particular WAN connection for the fastest possible response time.

If any slower responses are received on other connections afterwards, they will be discarded.

14.5. Port Forwarding

Peplink routers can act as a firewall that blocks, by default, all inbound access from the Internet. By using port forwarding, Internet users can access servers behind the Pepwave router. Inbound port forwarding rules can be defined at Advanced > Port Forwarding.

Description: Advanced_Port Forwarding

To define a new service, click Add Service.

Description: Add Service

Port Forwarding Settings

Enable

This setting specifies whether the inbound service takes effect. When Enable is checked, the inbound service takes effect: traffic is matched and actions are taken by the Pepwave router based on the other parameters of the rule. When this setting is disabled, the inbound service does not take effect: the Pepwave router disregards the other parameters of the rule.

Service Name

This setting identifies the service to the system administrator. Valid values for this setting consist of only alphanumeric and underscore “_” characters.

IP Protocol

The IP Protocol setting, along with the Port setting, specifies the protocol of the service as TCP, UDP, ICMP, or IP. Traffic that is received by the Pepwave router via the specified protocol at the specified port(s) is forwarded to the LAN hosts specified by the Servers setting. Please see below for details on the Port and Servers settings. Alternatively, the Protocol Selection Tool drop-down menu can be used to automatically fill in the protocol and a single port number of common Internet services (e.g. HTTP, HTTPS, etc.). After selecting an item from the Protocol Selection Tool drop-down menu, the protocol and port number remain manually modifiable.

Port

The Port setting specifies the port(s) that correspond to the service, and can be configured to behave in one of the following manners:

Any Port, Single Port, Port Range, Port Map, and Range Mapping

Any Port: all traffic that is received by the Pepwave router via the specified protocol is forwarded to the servers specified by the Servers setting. For example, with IP Protocol set to TCP, and Port set to Any Port, all TCP traffic is forwarded to the configured servers.

Single Port: traffic that is received by the Pepwave router via the specified protocol at the specified port is forwarded via the same port to the servers specified by the Servers setting. For example, with IP Protocol set to TCP, and Port set to Single Port and Service Port 80, TCP traffic received on port 80 is forwarded to the configured servers via port 80.

Port Range: traffic that is received by the Pepwave router via the specified protocol at the specified port range is forwarded via the same respective ports to the LAN hosts specified by the Servers setting. For example, with IP Protocol set to TCP, and Port set to Port Range and Service Ports 80-88, TCP traffic received on ports 80 through 88 is forwarded to the configured servers via the respective ports.

Port Mapping: traffic that is received by the Pepwave router via the specified protocol at the specified port is forwarded via a different port to the servers specified by the Servers setting.

For example, with IP Protocol set to TCP, and Port set to Port Mapping, Service Port 80, and Map to Port 88, TCP traffic on port 80 is forwarded to the configured servers via port 88.

(Please see below for details on the Servers setting.)

Range Mapping: traffic that is received by the Pepwave router via the specified protocol at the specified port range is forwarded via a different port to the servers specified by the Servers setting.

Inbound IP Address(es)

This setting specifies the WAN connections and Internet IP address(es) from which the service can be accessed.

Server IP Address

This setting specifies the LAN IP address of the server that handles the requests for the service.

14.6. Inbound Access

Inbound access is also known as inbound port address translation. On a NAT WAN connection, all inbound traffic to the server behind the Peplink unit requires inbound access rules.

By the custom definition of servers and services for inbound access, Internet users can access the servers behind the Peplink Balance. Advanced configurations allow inbound access to be distributed among multiple servers on the LAN.

Important Note

Inbound access applies only to WAN connections that operate in NAT mode. For WAN connections that operate in drop-in mode or IP forwarding, inbound traffic is forwarded to the LAN by default. 

14.6.1. Servers

The settings to configure servers on the LAN are located at Advanced > Inbound Access > Servers.

Inbound connections from the Internet will be forwarded to the specified Inbound IP address(es) based on the protocol and port number. When more than one server is defined, requests will be distributed to the servers in the weight ratio specified for each server.

To define a new server, click Add Server, which displays the following screen:

Enter a valid server name and its corresponding LAN IP address. Upon clicking Save after entering required information, the following screen appears.

To define additional servers, click Add Server and repeat the above steps.

14.6.2. Services

Services are defined at Advanced > Inbound Access > Services.

Tip

At least one server must be defined before services can be added.

To define a new service, click the Add Service button, upon which the following menu appears:

Services Settings

Enable

This setting specifies whether the inbound service rule takes effect.

When Yes is selected, the inbound service rule takes effect. If the inbound traffic matches the specified IP protocol and port, action will be taken by the Peplink Balance based on the other parameters of the rule.

When No is selected, the inbound service rule does not take effect. The Peplink Balance will disregard the other parameters of the rule.

Service Name

This setting identifies the service to the system administrator. Only alphanumeric and the underscore “_” characters are valid.

IP Protocol

The IP Protocol setting, along with the Port setting, specifies the protocol of the service as TCP, UDP, ICMP, or IP. Inbound traffic that matches the specified IP Protocol and Port(s) will be forwarded to the LAN hosts specified by the Servers setting.

Upon choosing a protocol, the Protocol Selection Tool drop-down menu can be used to automatically fill in the port information of common Internet services (e.g. HTTP, HTTPS, etc.).

After selecting an item from the Protocol Selection Tool drop-down menu, the protocol and the port number will remain manually modifiable.

Port

The Port setting specifies the port(s) that correspond to the service, and can be configured to behave in one of the following manners:

Any Port, Single Port, Port Range, Port Map, and Range Mapping

Any Port

Any Port: all traffic that is received by the Peplink Balance via the specified protocol is forwarded to the servers specified by the Servers setting.

For example, if IP Protocol is set to TCP and Port is set to Any Port, then all TCP traffic will be forwarded to the configured servers.

Single Port

Single Port: traffic that is received by the Peplink Balance via the specified protocol at the specified port is forwarded via the same port to the servers specified by the Servers setting.

For example, if IP Protocol is set to TCP, Port is set to Single Port, and Service Port is set to 80, then TCP traffic received on Port 80 will be forwarded to the configured servers via port 80.

Port Range

Port Range: traffic that is received by the Peplink Balance via the specified protocol at the specified port range is forwarded via the same respective ports to the LAN hosts specified by the Servers setting.

For example, if IP Protocol is set to TCP, Port is set to Port Range, and Service Port set to 80-88, then TCP traffic received on ports 80 through 88 will be forwarded to the configured servers via the respective ports.

Port Mapping

Port Mapping: traffic that is received by the Peplink Balance via the specified protocol at the specified port is forwarded via a different port to the servers specified by the Servers setting.

For example, if IP Protocol is set to TCP, Port is set to Port Mapping, Service Port is set to 80, and Map to Port is set to 88, then TCP traffic on port 80 is forwarded to the configured servers via port 88.

(Please see below for details on the Servers setting.)

Range Mapping

Range Mapping: traffic that is received by the Peplink Balance via the specified protocol at the specified port range is forwarded via a different port to the servers specified by the Servers setting.

Inbound IP Address(es)

This setting specifies the WAN connections and Internet IP address(es) from which the service can be accessed.

Included Server(s)

This setting specifies the LAN servers that handle requests for the service, and the relative weight values. The amount of traffic that is distributed to a server is proportional to the weight value assigned to the server relative to the total weight.

Example:

With the following weight settings on a Peplink Balance:

  • demo_server_1: 10
  • demo_server_2: 5

The total weight is 15 = (10 + 5)

Matching traffic distributed to demo_server_1:67% = (10 / 15) x 100%

Matching traffic distributed to demo_server_2:33% = (5 / 15) x 100%

UPnP / NAT-PMP Settings

UPnP and NAT-PMP are network protocols which allow a computer connected to the LAN port to automatically configure the router to allow parties on the WAN port to connect to itself.  That way, the process of inbound port forwarding becomes automated. 

When a computer creates a rule using these protocols, the specified TCP/UDP port of all WAN connections' default IP address will be forwarded.

Check the corresponding box(es) to enable UPnP and/or NAT-PMP.  Enable these features only if you trust the computers connected to the LAN ports.

When the options are enabled, a table listing all the forwarded ports under these two protocols can be found at Advanced > Services > UPnP / NAT-PMP.

14.6.3. DNS Settings

The built-in DNS server functionality of the Peplink Balance facilitates inbound load balancing. With this functionality, NS/SOA DNS records for a domain name can be delegated to the Internet IP address(es) of the Peplink Balance. Upon receiving a DNS query, the Peplink Balance can return (as an “A” record) the IP address for the domain name on the most appropriate healthy WAN connection. It can also act as a generic DNS server for hosting “A”, “CNAME”, “MX”, “TXT” and “NS” records.

The settings for defining the DNS records to be hosted by the Peplink Balance are located at Advanced > Inbound Access > DNS Settings.

Note: DNS names may only contain alphanumeric characters (A-Z and 0-9), hyphens (-), and periods (.). The period is only allowed when it is used to delimit the components of domain style names.

For more information, see the following websites:

DNS Settings

DNS Servers

This setting specifies the WAN IP addresses on which the DNS server of the Peplink Balance should listen.

If no addresses are selected, the inbound link load balancing feature will be disabled and the Peplink Balance will not respond to DNS requests.

To specify and/or modify the IP addresses on which the DNS server should listen, click the button that corresponds to DNS Server, and a selection screen will be displayed:

To specify the Internet IP addresses on which the DNS server should listen, select the desired WAN connection then select the desired associated IP addresses. (Multiple items in the list can be selected by holding CTRL and clicking on the items.)

Click Save to save the settings when configuration is complete.

Zone Transfer

This setting specifies the IP address(es) of the secondary DNS server(s)authorized to retrieve zone records from the DNS server of the Peplink Balance.

The zone transfer server of the Peplink Balance listens on TCP port 53.

The Peplink Balance serves both the clients that are accessing from the specified IP addresses, and the clients that are accessing its LAN interface.

Routing Control by Subnet Database

When this function is enabled, the system will check to see if an incoming DNS client is within any WAN's ISP subnet. Only the matched WAN(s)'s IP addresses will be returned. Note that this feature is available only when a subnet database has been defined.

Default SOA / NS

Click the button to define a default SOA / NS record for all domain names.

When defining a default SOA record, Name Server IP Address is optional. If left blank, the Address (A) record for the same server should be defined manually in each domain.

For defining default NS records, the host [domain] indicates that this record is for the domain name itself without a sub-domain prefix. To add a secondary NS server, just create a second NS record with the Host field left empty. When the entered name server is a fully qualified domain name (FQDN), the IP Address field will be disabled.

Default Connection Priority

Default Connection Priority defines the default priority group of each WAN connection in resolving A records. It applies to Address (A) records which have the Connection Priority set to Default.

The WAN connection(s) with the highest priority (smallest number) will be chosen. Those with lower priorities will not be chosen in resolving A records unless the higher priority ones become unavailable.

To specify the primary and backup connections, click the button that corresponds to Default Connection Priority. A selection screen will appear.

Each WAN connection is associated with a priority number. Click Save to save the settings when configuration is complete.

Domain name

This section shows a list of domain names to be hosted by the Peplink Balance. Each domain can have its “NS”, “MX” and “TXT” records, and its sub-domains’ “A” and “CNAME” records. Add a new record by clicking the New Domain Name button. Click on a domain name to edit. Press the red X to remove a domain name.

New Domain Name

Upon clicking the New Domain Name button, the following screen will appear:

This page is for defining the domain’s SOA, NS, MX, CNAME, A, TXT, and SRV records. Seven tables are presented in this page for defining the five types of records.

SOA Record

Click on the Edit icon to choose whether to use the pre-defined default SOA record and NS records. If the option Use Default SOA and NS Records is selected, any changes made in the default SOA/NS records will be applied to this domain automatically. Otherwise, select the option Customize SOA Record for this domain to customize this domain's SOA and NS records.

You can click the link Click here to define SOA record to create or click on the Name Server field to edit the SOA record.

This table displays the current SOA record. When the option Customize SOA Record for this domain is selected, you can click the link Click here to define SOA record to create or click on the Name Server field to edit the SOA record.

In the SOA record, you have to fill out the fields Name Server, Name Server IP Address, Email, Refresh, Retry, Expire, Min Time, and TTL.

Default values are set for SOA and NS records,

  • Name Server IP Address: This is the IP address of the authoritative name server. An entry in this field is optional. If the Balance is the authoritative name server of the domain, this field's value should be the WAN connection's name server IP address that is registered in the DNS registrar. If this field is entered, a corresponding A record for the name server will be created automatically. If it is left blank, the A record for the name server must be created manually.
  • E-mail: Defines the e-mail address of the person responsible for this zone. Note: format should be mailbox-name.domain.com, e.g., hostmaster.example.com.
  • Refresh: Indicates the length of time (in seconds) when the slave will try to refresh the zone from the master.
  • Retry: Defines the duration (in seconds) between retries if the slave (secondary) fails to contact the master and the refresh (above) has expired.
  • Expire: Indicates the time (in seconds) when the zone data is no longer authoritative. This option applies to slave DNS servers only.
  • Min Time: Is the negative caching time which defines the time (in seconds) after an error record is cached.
  • TTL (Time-to-Live): Defines the duration (in seconds) that the record may be cached.

NS Records

The NS Records table shows the NS servers and TTL that correspond to the domain. The NS record of the name server defined in the SOA record is automatically added here.

To add a new NS record, click the New NS Records button in the NS Records box. Then the table will expand to look like the following:

When creating an NS record for the domain itself (not a sub-domain), the Host field should be left blank.

Enter a name server host name and its IP address into the corresponding boxes. The host name can be a non-FQDN (fully qualified domain name). Please be sure that a corresponding A record is created. Click the Plus button on the right to finish and to add other name servers. Click the Save button to save your changes.

MX Records

The MX Record table shows the domain’s MX records. To add a new MX record, click the New MX Records button in the MX Records box. Then the table will expand to look like the following:

When creating an MX record for the domain itself (not a sub-domain), the Host field should be left blank.

For each record, Priority and Mail Server name must be entered. Priority typically ranges from 10 to 100. Smaller numbers have a higher priority. After finishing adding MX records, click the Save button.

CNAME Records

The CNAME Record table shows the domain’s CNAME records. To add a new CNAME record, click the New CNAME Records button in the CNAME Record box.

CNAME records are typically used for defining classless reverse lookup zones. Subnetted reverse lookup zones are further described in RFC 2317, "Classless IN-ADDR.ARPA delegation."

Then the table will expand to look like the following:

When creating a CNAME record for the domain itself (not a sub-domain), the Host field should be left blank.

The wildcard character “*”is supported in the Host field. The reference of ".domain.name" will be returned for every name ending with ".domain.name" except names that have their own records.

The TTL field tells the time to live of the record in external DNS caches.

A Records

This table shows the A records of the domain name. To add an A record, click the New A Record button. The following screen will appear:

A record may be automatically added for the SOA records with a name server IP address provided.

A Record

Host Name

This field specifies the A record of this sub-domain to be served by the Peplink Balance. The wildcard character “*” is supported. The IP addresses of “*.domain.name" will be returned for every name ending with ".domain.name" except names that have their own records.

TTL

This setting specifies the time to live of this record in external DNS caches.

In order to reflect any dynamic changes on the IP addresses in case of link failure and recovery, this value should be set to a smaller value, e.g., 5 secs, 60 secs, etc.

Priority

This option specifies the priority of different connections.

Select the Default option to apply the Default Connection Priority (refer to the table shown on the main DNS settings page) to an A record. To customize priorities, choose the Custom option and a priority selection table will be shown at the bottom. 

Included IP Address(es)

This setting specifies lists of WAN-specific Internet IP addresses that are candidates to be returned when the Peplink Balance responds to DNS queries for the domain name specified by Host Name.

The IP addresses listed in each box as default are the Internet IP addresses associated with each of the WAN connections. Static IP addresses that are not associated with any WAN can be entered into the Custom IP list. A PTR record is also created for each custom IP.

For WAN connections that operate under drop-in mode, there may be other routable IP addresses in addition to the default IP address. Therefore, the Peplink Balance allows custom Internet IP addresses to be added manually via filling the text box on the right-hand side and clicking the button.

Only the checked IP addresses in the lists are candidates to be returned when responding to a DNS query.

If a WAN connection is down, the corresponding set of IP addresses will not be returned. However, the IP addresses in the Custom IP Address field will always be returned.

If the Connection Priority field is set to Custom, you can also specify the usage priority of each WAN connection. Only selected IP address(es) of available connection(s) with the highest priority, and custom IP addresses will be returned. By default, Connection Priority is set to Default. 

TXT Records

This table shows the TXT record of the domain name.

To add a new TXT record, click the New TXT Record button in the TXT Records box. Click the Edit button to edit the record. The time-to-live value and the TXT record’s value can be entered. Click the Save button to finish.

When creating a TXT record for the domain itself (not a sub-domain), the Host field should be left blank.

The maximum size of the TXT Value is 255 bytes.

After editing the five types of records, you can leave the page by simply going to another section of the web admin interface.

SRV Records

To add a new SRV record, click the New SRV Record button in the SRV Records box.

  • Service: The symbolic name of the desired service. 
  • Priority: Indicates the priority of the target; the smaller the value, the higher the priority.
  • Weight: A relative weight for records with the same priority.
  • Target: The canonical hostname of the machine providing the service.
  • Port: Enter the TCP or UDP port number on which the service is to be found.

Reverse Lookup Zones

Reverse lookup zones can be configured in Advanced > Inbound Access > DNS Settings.

Reverse lookup refers to performing a DNS query to find one or more DNS names associated with a given IP address.

The DNS stores IP addresses in the form of specially formatted names as pointer (PTR) records using special domains/zones. The zone is in-addr.arpa.

To enable DNS clients to perform a reverse lookup for a host, perform two steps:

  • Create a reverse lookup zone that corresponds to the subnet network address of the host. 

In the reverse lookup zone, add a pointer (PTR) resource record that maps the host IP address to the host name.

  • Click the New Reverse Lookup Zone button and enter a reverse lookup zone name. If you are delegated the subnet 11.22.33.0/24, the Zone Name should be 33.22.11.in-arpa.addr. PTR records for 11.22.33.1, 11.22.33.2, ... 11.22.33.254 should be defined in this zone where the host IP numbers are 1, 2, ... 254, respectively.

SOA Record

Displays the current SOA record. You can click the link Click here to define SOA record to create or click on the Name Server field to edit the SOA record.

In the SOA record, you must fill out the fields Name Server, Email, Refresh, Retry, Expire, Min Time, and TTL.

NS Records

This table lists all defined NS records. The NS record of the name server defined in the SOA record is automatically added here. To create a new NS record, click the New NS Records button.

When creating an NS record for the Reverse Lookup Zone itself (not a sub-domain or dedicated zone), the Host field should be left blank.

The Name Server field must be an FQDN.

CNAME Records

Lists all CNAME records. To create a new CNAME record, click the New CNAME Record button.

CNAME records are typically used for defining classless reverse lookup zones. Subnetted reverse lookup zones are further described in RFC 2317, "Classless IN-ADDR.ARPA delegation."

PTR Records

To create a new PTR record, click the New PTR Record button.

For Host IP Number field, enter the last integer in the IP address of a PTR record. For example, for the IP address 11.22.33.44, where the reverse lookup zone is 33.22.11.in-arpa.addr, the Host IP Number should be 44.

The Points To field defines the host name which the PTR record should be pointed to. It must be an FQDN.

DNS Record Import Wizard

At the bottom of the DNS settings page, the link Import records via zone transfer…is used to import DNS records using an import wizard.

  • Select Next >> to continue.

  • In the Target DNS Server IP Address field, enter the IP address of the DNS server.
  • In the Transfer via…field, choose the connection which you would like to transfer through.
  • Select Next >> to continue.

  • In the blank space, enter the Domain Names (Zones) which you would like to assign the IP address entered in the previous step. Enter one domain name per line.
  • Select Next >> to continue.

Important Note

If you have entered domain(s) which already exist in your settings, a warning message will appear. Select Next >> to overwrite the existing record or << Back to go back to the previous step.

DNS Import_4

DNS Import_6

After the zone records process have been fetched, the fetch results would be shown as above. You can view import details by clicking the corresponding hyperlink on the right-hand side.

View Zone

14.7. NAT Mappings

The Peplink Balance allows the IP address mapping of all inbound and outbound NATed traffic to and from an internal client IP address.

NAT mappings can be configured at Advanced > NAT Mappings.

To add a rule for NAT mappings, click Add NAT Rule and the following screen will be displayed:

NAT Mapping Settings

LAN Client

NAT Mapping rules can be defined for a single LAN IP Address, an IP Range, or an IP Network.

IP Address

This refers to the LAN host’s private IP address. The system maps this address to a number of public IP addresses (specified below) in order to facilitate inbound and outbound traffic. This option is only available when IP Address is selected.

IP Range

The IP range is a contiguous group of private IP addresses used by the LAN host. The system maps these addresses to a number of public IP addresses (specified below) to facilitate outbound traffic. This option is only available when IP Range is selected.

IP Network

The IP network refers to all private IP addresses and ranges managed by the LAN host. The system maps these addresses to a number of public IP addresses (specified below) to facilitate outbound traffic. This option is only available when IP Network is selected.

Inbound Mappings

This setting specifies the WAN connections and corresponding WAN-specific Internet IP addresses on which the system should bind. Any access to the specified WAN connection(s) and IP address(es) will be forwarded to the LAN host. This option is only available when IP Address is selected in the LAN Client field.

Note 1: Inbound mapping is not needed for WAN connections in drop-in mode or IP forwarding mode.

Note 2: Each WAN IP address can be associated to one NAT mapping only.

Outbound Mappings

This setting specifies the WAN IP addresses that should be used when an IP connection is made from a LAN host to the Internet.This option is only available when IP Range or IP Network is selected in the LAN Client field.

Each LAN host in an IP range or IP network will be evenly mapped to one of each selected WAN's IP addresses (for better IP address utilization) in a persistent manner (for better application compatibility).

Note 1: If you do not want to use a specific WAN for outgoing accesses, you should still choose default here, then customize the outbound access rule in the Outbound Policy section.

Note 2: WAN connections in drop-in mode or IP forwarding mode are not shown here.

Click Save to save the settings when configuration has been completed.

Important Note

Inbound firewall rules override inbound mapping settings.

14.8. MediaFast

MediaFast settings can be configured by navigating to Advanced > MediaFast.

14.8.1. Cache Settings

To access MediaFast content caching settings, select Advanced > MediaFast > Cache Settings.

MediaFast

Enable

Click the checkbox to enable MediaFast content caching.

Domains / IP Addresses

Choose to Cache on all domains, or enter domain names and then choose either Whitelist (cache the specified domains only) or Blacklist (do not cache the specified domains).

Source IP Subnet

This setting allows caching to be enabled on custom subnets only.
If "Any" is selected, then caching will apply to all subnets.

The Secure Content Caching menu operates identically to the MediaFast menu, except it is for secure content caching accessible through https://.
In order for MediaFast devices to cache and deliver HTTPS content, every client needs to have the necessary certificates installed*.

*See https://forum.peplink.com/t/certificate-installation-for-mediafast-https-caching/

Cache Control

Content Type

Check these boxes to cache the listed content types or leave boxes unchecked to disable caching for the listed types.

Cache Lifetime Settings

Enter a file extension, such as JPG or DOC. Then enter a lifetime in days to specify how long files with that extension will be cached. Add or delete entries using the controls on the right.

Viewing MediaFast Statistics

To get details on storage and bandwidth usage, select Status > MediaFast.

14.8.2. Prefetch Schedule

Content prefetching allows you to download content on a schedule that you define, which can help to preserve network bandwidth during busy times and keep costs down. To access MediaFast content prefetching settings, select Advanced > MediaFast > Prefetch Schedule.

Prefetch Schedule Settings

Name

This field displays the name given to the scheduled download.

Status

Check the status of your scheduled download here.

Next Run Time/Last Run Time

These fields display the date and time of the next and most recent occurrences of the scheduled download.

Last Duration

Check this field to ensure that the most recent download took as long as expected to complete. A value that is too low might indicate an incomplete download or incorrectly specified download target, while a value that is too long could mean a download with an incorrectly specified target or stop time.

Result

This field indicates whether downloads are in progress () or complete ( ).

Last Download

Check this field to ensure that the most recent download file size is within the expected range. A value that is too low might indicate an incomplete download or incorrectly specified download target, while a value that is too long could mean a download with an incorrectly specified target or stop time. This field is also useful for quickly seeing which downloads are consuming the most storage space.

Actions

To begin a scheduled download immediately, click .

To cancel a scheduled download, click .

To edit a scheduled download, click .

To delete a scheduled download, click .

New Schedule

Click to begin creating a new scheduled download. Clicking the button will cause the following screen to appear:

Simply provide the requested information to create your schedule.

Clear Web Cache

Click to clear all cached content. Note that this action cannot be undone.

Clear Statistics

Click to clear all prefetch and status page statistics.

14.9. Edge Computing

14.9.1. Application

ContentHub allows you to deliver webpages and applications to users connected to the SSID using the local storage on your router. Users will be able to access news, articles, videos, and access your web app without the need for internet access.

The ContentHub can be used to provide infotainment to connected users on transport.

ContentHub storage needs to be configured before content can be uploaded to the ContentHub. Click on the link on the information panel to configure storage.

To access ContentHub, navigate to Advanced > Application and check the Enable box:

On an external server, configure content (a website or application) that will be synced to the ContentHub. For example, an html5 website.

To configure a website or application as content, follow the steps below.

Configure a website for the ContentHub

This option allows you to sync a website to the Peplink router. This website will then be published with the specified domain from the router itself and makes the content available to the client via the HTTP/HTTPS protocol.

Only FTP sync is supported for this type of ContentHub content.

The content should be uploaded to an FTP server before you sync it with ContentHub.

Click New Website and a window with the following configuration options will appear:

Schedule

Active

Checking the box toggles the activation of the content.

Type

Select the type of content: Website or Application.

Protocol

Configure the protocol to be used: HTTP, HTTPS or both.

Domain/Path

Enter the URL for the ContentHub to use as the domain name for client access (such as http://mytest.com).

Method

Only applicable for Application type content. Choose between sync or file upload.

Source

Enter the details of the server that the content will be downloaded from. Enter credentials under Username and Password.

Period

This field determines how often the router will search for updates to the source content.

Bandwidth Limit

Set a bandwidth limit for clients.

Click “Save & Apply Now” to activate the changes. A screenshot of the display after configuration is shown below:

Screen Shot 2017-05-23 at 11.37.23 AM.png

The content will be synced regularly according to the time set in the Period that was configured earlier.
If you want to activate the sync manually, you can click the “dl_now.png” icon. The “Status” column will display the sync progress. When the sync is completed, a summary will be displayed, as shown in the screenshot below:

Screen Shot 2017-05-23 at 11.42.10 AM.png

To access the content, open a browser in the MFA’s client and enter the domain details that were configured earlier (such as http://mytest.com).

Configure an application for the ContentHub

MediaFast routers allow you to configure and publish any application from the router itself by using one of the supported frameworks below:

  • Python (version 2.7.12)
  • Ruby (version 2.3.3)
  • Node.js (version 6.9.2)

Install the desired framework under “Package Manager” as shown below:

Screen Shot 2017-05-23 at 12.03.45 PM.png

After installing the framework, change the “Type” to “Application” and configure the website.

Screen Shot 2017-05-23 at 12.05.25 PM.png

The setting is the same as the Website type (refer to the description in the section above).

Application type content needs to be packed as explained below:

  1. 1.Implement two bash script files, start.sh and stop.sh in the root folder, to start and stop your application. The MediaFast router will only execute start.sh and stop.sh when the corresponding website is enabled and disabled respectively.
  2. 2.Compress the application files and the bash script to .tar.gz format.
  3. 3.Upload this tar file to the router.

MDM Settings

In addition to performing content caching, MediaFast-enabled routers can also serve as an MDM, administrating to client devices. To access MDM Settings, navigate to Advanced > MDM Settings:

MDM Settings

Enable

Click this checkbox to enable MDM on your router.

Account Settings

Click Follow Web Admin Account to allow client devices to use the built-in administrator account when performing MDM. Set Custom to specify a username and password your router will use to log into your client devices.

Please refer to the knowledgebase for information about enrolling client devices to MDM:

https://forum.peplink.com/t/how-to-enroll-a-device-to-the-mdm-server/8454

14.9.2. Docker

For non-MFA/Edge Computing devices, you can plug in a USB as storage for installing or running Docker Containers on your device. After plugging in the device, under “System → Tools → External Storage” you will be able to see the USB details you plug in.

You might need to format your USB to the supported format to be able to be used by the device. To format your USB, click the “Format” button and type in the encryption key as follows. The encryption key is used every time for the USB to mount in the device.

After a while, the status will change to “In use” as below.

14.9.3. KVM

MediaFast-enabled routers now support KVM. Users will need to download and install the Virtual Machine Manager to manage the KVM virtual machines. Through this, users can virtualize a Linux environment.

For detailed configuration instructions, please refer to our knowledge base articles:

  • Create persistent guest virtual machines with XML configuration. After clicking ‘here,’ a text box will appear. Enter the code and choose “Start now” and “Autostart at boot”. Finally, click “Create” to initiate the VM configuration.

14.10. QoS

14.10.1. User Groups

Other than the three default user groups, you can add more user groups by entering the group name into the column and clicking the ‘+‘ button. The user group limit is up to 10.

14.10.2. Bandwidth Control

This section is to define how much minimum bandwidth will be reserved to each user group when a WAN connection is in full load. When this feature is enabled, a slider with two indicators will be shown. You can move the indicators to adjust each group's weighting. The lower part of the table shows the corresponding reserved download and upload bandwidth value of each connection.

By default, 50% of bandwidth has been reserved for Manager, 30% for Staff, and 20% for Guest.

You can define a maximum download speed (over all WAN connections) and upload speed (for each WAN connection) that each individual Staff and Guest member can consume. No limit can be imposed on individual Managers. By default, download and upload bandwidth limits are set to unlimited (set as 0).

14.10.3. Application Queue

This section is to define the QoS Application Queue. You can set guaranteed bandwidth for a queue and assign it to applications.

Click the Add button to create the QoS Application Queue.

Add Queue

Name

This setting specifies a name for the QoS Application Queue.

Bandwidth

Bandwidth to be reserved (for each WAN connection) for this queue. When WAN is congested, this bandwidth will remain available for applications assigned to this queue.

Borrow Spare Bandwidth

Enable this option if you want this queue to utilize WAN's unused bandwidth.

14.10.4. Application

You can choose whether to apply the same prioritization settings to all user groups or customize the settings for each group.

Three priority levels can be set for application prioritization: ↑High,━ Normal, and↓Low. The Peplink Balance can detect various application traffic types by inspecting the packet content. Select an application by choosing a supported application, or by defining a custom application manually. The priority preference of supported applications is placed at the top of the table. Custom applications are at the bottom.

Prioritization for Custom Application

Click the Add button to define a custom application. Click the button Delete in the Action column to delete the custom application in the corresponding row.

When Supported Applications is selected, the Peplink Balance will inspect network traffic and prioritize the selected applications. Alternatively, you can select Custom Applications and define the application by providing the protocol, scope, port number, and DSCP value.

Add Application

Category and Application availability will be different across different Peplink Balance models.

DSL/Cable Optimization

DSL/cable-based WAN connections have lower upload bandwidth and higher download bandwidth.

When a DSL/cable circuit's uplink is congested, the download bandwidth will be affected. Users will not be able to download data at full speed until the uplink becomes less congested. DSL/Cable Optimization can relieve such an issue. When it is enabled, the download speed will become less affected by the upload traffic. By default, this feature is disabled.

DSL Optimization

SpeedFusion VPN Traffic Optimization

To enable this option to allow SpeedFusion VPN traffic has highest priority when WAN is congested.

14.11. Firewall

A firewall is a mechanism that selectively filters data traffic between the WAN side (the Internet) and the LAN side of the network. It can protect the local network from potential hacker attacks, access to offensive websites, and/or other inappropriate uses.

The firewall functionality of Peplink Balance supports the selective filtering of data traffic in both directions:

Outbound (LAN to WAN)

Inbound (WAN to LAN)

Internal Network (VLAN to VLAN)

Local Service

The firewall also supports the following functionality:

  • Intrusion detection and DoS prevention
  • Web blocking

With SpeedFusionTM enabled, the firewall rules also apply to VPN tunneled traffic. The Firewall function can be found at Advance > Firewall.

14.11.1. Access Rules

Outbound Firewall Rules

The outbound firewall settings are located at Advanced > Firewall > Access Rules.

To enable or disable the Outbound Firewall to manage device local network traffic, click on the help icon and click here, the screen will show below.

Note

To utilize the Outbound Firewall Rule to block the Peplink device from contacting InControl 2. may refer to the link below:

https://forum.peplink.com/t/faq-prevent-device-reaching-incontrol-2-a-k-a-firewall-with-expert-option-to-block-the-system-traffic/42914

Click Add Rule to display the following screen:

C:\Users\Alan-2\Google 雲端硬碟\Peplink\2015-10-15 - Firmware 6.3 Materials\Manual\2015-11-23_103323.png

Inbound Firewall Rules

The inbound firewall settings are located at Advanced > Firewall > Access Rules.

Click Add Rule to display the following window:

C:\Users\Alan-2\Google 雲端硬碟\Peplink\2015-10-15 - Firmware 6.3 Materials\Manual\2015-11-23_103742.png

Internal Network Firewall Rules

The Internal Network firewall settings are located at Advanced > Firewall > Access Rules.

Click Add Rule to display the following window:

Inbound / Outbound / Internal Network Firewall Settings

Rule Name

This setting specifies a name for the firewall rule.

Enable

This setting specifies whether the firewall rule should take effect.

If the box is checked, the firewall rule takes effect. If the traffic matches the specified protocol/IP/port, actions will be taken by Peplink Balance based on the other parameters of the rule.

If the box is not checked, the firewall rule does not take effect. The Peplink Balance will disregard the other parameters of the rule.

Click the dropdown menu next to the checkbox to place this firewall rule on a time schedule.

WAN Connection (Inbound)

Select the WAN connection that this firewall rule should apply to.

Protocol

This setting specifies the protocol to be matched.

Via a drop-down menu, the following protocols can be specified:

  • Any
  • TCP
  • UDP
  • ICMP
  • IP
  • DSCP

Alternatively, the Protocol Selection Tool drop-down menu can be used to automatically fill in the protocol and port number of common Internet services (e.g., HTTP, HTTPS, etc.)

After selecting an item from the Protocol Selection Tool drop-down menu, the protocol and port number remain manually modifiable.

Source and Port

This specifies the source IP address(es) and port number(s) to be matched for the firewall rule. A single address, or a network, can be specified as the Source IP & Port setting, as indicated with the following screenshots:

In addition, a single port, or a range of ports, can be specified for the Source settings.

Destination and Port

This specifies the destination IP address(es) and port number(s) to be matched for the firewall rule. A single address, or a network, can be specified as the Destination IP & Port setting, as indicated with the following screenshots:

In addition, a single port, or a range of ports, can be specified for the settings.

Action

This setting specifies the action to be taken by the router upon encountering traffic that matches both of the following:

  • Source IP & port
  • Destination IP & port

With the value of Allow for the Action setting, the matching traffic passes through the router (to be routed to the destination). If the value of the Action setting is set to Deny, the matching traffic does not pass through the router (and is discarded).

Event Logging

This setting specifies whether or not to log matched firewall events. The logged messages are shown on the page Status>Event Log. A sample message is as follows:

Aug 13 23:47:44 Denied CONN=Ethernet WAN SRC=20.3.2.1

DST=192.168.1.20 LEN=48 PROTO=TCP SPT=2260 DPT=80

  • CONN: The connection where the log entry refers to
  • SRC: Source IP address
  • DST: Destination IP address
  • LEN: Packet length
  • PROTO: Protocol
  • SPT: Source port
  • DPT: Destination port

Click Save to store your changes. To create an additional firewall rule, click Add Rule and repeat the above steps.

To change a rule’s priority, simply drag and drop the rule:

  • Hold the left mouse button on the rule.
  • Move it to the desired position.
  • Drop it by releasing the mouse button.

To remove a rule, click the Delete button.

Rules are matched from top to the bottom. If a connection matches any one of the upper rules, the matching process will stop. If none of the rules match the connection, the Default rule will be applied.

The Default rule is Allow for Outbound, Inbound and Internal Network access.

Tip

If the default inbound rule is set to Allow for NAT-enabled WANs, no inbound Allow firewall rules will be required for inbound port forwarding and inbound NAT mapping rules. However, if the default inbound rule is set as Deny, a corresponding Allow firewall rule will be required.

Intrusion Detection and DoS Prevention

Enable Intrusion Detection

The Balance can detect and prevent intrusions and denial-of-service (DoS) attacks from the Internet. To turn on this feature, click Edit, check the Enable check box for the Intrusion Detection and DoS Prevention, and press the Save button.

When this feature is enabled, the Balance will detect and prevent the following kinds of intrusions and denial-of-service attacks.

  • Port scan
    • NMAP FIN/URG/PSH
    • Xmas tree
    • Another Xmas tree
    • Null scan
    • SYN/RST
    • SYN/FIN
  • SYN flood prevention
  • Ping flood attack prevention

14.11.2. Content Blocking

Application Blocking

Choose applications to be blocked from LAN/PPTP/PepVPN peer clients' access, except for those on the Exempted User Groups or Exempted Subnets defined below.

Web Blocking

Defines website domain names to be blocked from LAN/PPTP/PepVPN peer clients' access except for those on the Exempted User Groups or Exempted Subnets defined below.

If "foobar.com" is entered, any web site with a host name ending in foobar.com will be blocked, e.g. www.foobar.com, foobar.com, etc. However, "myfoobar.com" will not be blocked.

You may enter the wild card ".*" at the end of a domain name to block any web site with a host name having the domain name in the middle. If you enter "foobar.*", then "www.foobar.com", "www.foobar.co.jp", or "foobar.co.uk" will be blocked. Placing the wild card in any other position is not supported.

The device will inspect and look for blocked domain names on all HTTP and HTTPS traffic.

Customized Domains

Enter an appropriate website address, and the Peplink Balance will block and disallow LAN/PPTP/SpeedFusionTM peer clients to access these websites.

You may enter the wild card ".*" at the end of a domain name to block any web site with a host name having the domain name in the middle. For example, if you enter "foobar.*," then "www.foobar.com," "www.foobar.co.jp," or "foobar.co.uk" will be blocked. Placing the wild card in any other position is not supported.

The Peplink Balance will inspect and look for blocked domain names on all HTTP traffic. Secure web (HTTPS) traffic is not supported.

Exempted User Groups

Check and select pre-defined user group(s) who can be exempted from the access blocking rules. User groups can be defined at QoS > User Groups section.

Exempted Subnets

With the subnet defined in the field, clients on the particular subnet(s) can be exempted from the access blocking rules.

14.12. Routing Protocols

14.12.1. OSPF & RIPv2

The Peplink Balance supports OSPF and RIPv2 dynamic routing protocols. Click the Network tab from the top bar, and then click the Routing Protocols > OSPF & RIPv2 item on the sidebar to reach the following menu:

OSPF

Router ID

This field determines the ID of the router. By default, this is specified as the WAN IP address. If you want to specify your own ID, enter it into the Custom field.

Area

This is an overview of the OSPF areas that you have defined. Clicking on the name under Area allows you to configure the connection. To define a new area, click Add. To delete an existing area, click on the Delete.

OSPF Settings

Area ID

Assign a name to be applied to this group. Machines linked to this group will send and receive related OSPF packets, while unlinked machines will ignore them.

Link Type

Choose the type of network that this area will use.

Authentication

If an authentication method is used, select one from this drop-down menu. Available options are MD5 and Text. Authentication key(s) may be input next to the drop-down menu after selecting an authentication method.

Interfaces

Select the interface(s) that this area will use to listen to and deliver OSPF packets.

To access RIPv2 settings, click on Edit.

RIPv2 Settings

Authentication

If an authentication method is used, select one from this drop-down menu. Available options are MD5 and Text. Authentication key(s) may be input next to the drop-down menu after selecting an authentication method.

Interfaces

Select the interface(s) that this area will use to listen to and deliver RIPv2 packets.

OSPF & RIPv2 Route Advertisement

SpeedFusion VPN Route Isolation

Isolate SpeedFusion VPN peers from each other. Received SpeedFusion VPN routes will not be forwarded to other SpeedFusion VPN peers to reduce bandwidth consumption.

Network Advertising

Networks to be advertised over OSPF & RIPv2. If no network is selected, all LAN / VLAN networks will be advertised by default.

Static Route Advertising

Enabling OSPF & RIPv2 Route Advertising allows it to advertise LAN static routes over OSPF & RIPv2. Static routes on the Excluded Networks table will not be advertised.

14.12.2. BGP

Click the Advanced tab along the top bar, and then click the BGP item on the sidebar to configure BGP.

Click the "x" to delete a BGP profile.

Click "Add" to create a new BGP profile.

BGP Profile

Name

This field specifies the name that represents this profile.

Enable

When this box is checked, this BGP profile will be enabled.
If it is left unchecked, it will be disabled.

Interface

The interface in which the BGP neighbor is located.

Router ID

This field specifies the unique IP as the identifier of the local device running BGP.

Autonomous System

The Autonomous System Number (ASN) assigned to this profile.

Neighbor

BGP Neighbors and their details.

IP address

The IP address of the Neighbor.

Autonomous System

The Neighbor's ASN.

Multihop/TTL

This field determines the Time-to-live (TTL) of BGP packets.
Leave this field blank if the BGP neighbor is directly connected, otherwise you must specify a TTL value. This option should be used if the configured Neighbor’s IP address does not match the selected Interface’s network subnets. The TTL value must be between 2 and 255.

Password

(Optional) Assign a password for MD5 authentication of BGP sessions.

AS-Path Prepending:

AS path to be prepended to the routes received from this Neighbor.
Values must be ASN and separated by commas.

For example: inputting "64530,64531" will prepend "64530, 64531" to received routes.

Hold Time

Wait time in seconds for a keepalive message from a Neighbor before considering the BGP connection as stalled.

The value must be either 0 (infinite hold time) or between 3 and 65535 inclusively.

Default: 240

Next Hop Self

Enable this option to advertise your own source address as the next hop when propagating routes.

iBGP Local Preference

This is the metric advertised to iBGP Neighbors to indicate the preference for external routes. The value must be between 0 and 4294967295 inclusively.

Default: 100

BFD

Enable this option to add Bidirectional Forwarding Detection for path failure. All directly connected Neighbors that use the same physical interface share the same BFD settings. All multihop Neighbors share the same multihop BFD settings. You can configure BFD settings in the BGP profile listing page after this option is enabled.

Route Advertisement

Network Advertising

Select the Networks that will be advertised to the BGP Neighbor.

Static Route Advertising

Enable this option to advertise static LAN routes. Static routes that match the Excluded Networks table will not be advertised.

Custom Route Advertising

Additional routes to be advertised to the BGP Neighbor.

Advertise OSPF Route

When this box is checked, every learnt OSPF route will be advertised.

Set Community

Assign a prefix to a Community

Community:

Two numbers in new-format.

e.g. 65000:21344

Well-known communities:

no-export 65535:65281

no-advertise 65535:65282

no-export-subconfed 65535:65283

no-peer 65535:65284

Route Prefix:

Comma separated networks.

e.g. 172.168.1.0/24,192.168.1.0/28

Route Import Settings

Filter Mode

This field allows for the selection of the filter mode for route import.

None: All BGP routes will be accepted.

Accept: Routes in "Restricted Networks" will be accepted, routes not in the list will be rejected.

Reject: Routes in "Blocked Networks" will be rejected, routes not in the list will be accepted.

Restricted Networks / Blocked Networks

This field specifies the network(s) in the “route import” entry.

Exact Match: When this box is checked, only routes with the same Network and Subnet Mask will be filtered.
Otherwise, routes within the Networks and Subnets will be filtered.

Import Default Route

Enable this option to import the default route from BGP neighbors.

Import only from origin ASNs

Import only routes originated by the specified ASNs. Enter one or more ASNs, separated by commas (,).

Filter Mode

This field allows for the selection of the filter mode for route export.

None: All BGP routes will be accepted.

Accept: Routes in "Restricted Networks" will be accepted, routes not in the list will be rejected.

Reject: Routes in "Blocked Networks" will be rejected, routes not in the list will be accepted.

Restricted Networks / Blocked Networks

This field specifies the network(s) in the “route export” entry.

Exact Match: When this box is checked, only routes with the same Network and Subnet Mask will be filtered.
Otherwise, routes within the Networks and Subnets will be filtered.

Export to other BGP Profile

When this box is checked, routes learnt from this BGP profile will be exported to other BGP profiles.

Export to OSPF

When this box is checked, routes learnt from this BGP profile will be exported to the OSPF routing protocol.

Redistribute BGP Default Route to OSPF

Enable this option to redistribute the BGP default route to OSPF.

14.13. Remote User Access

A remote-access VPN connection allows an individual user to connect to a private business network from a remote location using a laptop or desktop computer connected to the Internet. Networks routed by a Peplink router can be remotely accessed via OpenVPN, L2TP with IPsec, PPTP or WireGuard. To configure this feature, navigate to Network > Remote User Access and choose the required VPN type.

Remote User Access Settings

Enable

When this box is checked, this Remote User Access profile will be enabled.
If it is left unchecked, it will be disabled.

VPN Type

This field allows you to select the VPN type for the remote user access connection. The available options are:

  • L2TP with IPsec

L2TP with IPsec Remote User Access Settings

Pre-shared Key

Enter your pre shared key in the text field. Please note that remote devices will need this preshared key to access the Balance.

Listen On

This setting is for specifying the WAN IP addresses that allow remote user access.

Disable Weak Ciphers

Click the button to show and enable this option.

When checked, weak ciphers such as 3DES will be disabled.

Continue to configure authentication methods.

  • PPTP

No additional configuration required.

The Point-to-Point Tunneling Protocol (PPTP) is an obsolete method for implementing virtual private networks. PPTP has many well known security issues.

  • OpenVPN

You can input the “Connection Security Refresh” and enable the “Authentication Token Lifetime”.

After enabling “Authentication Token Lifetime”, you are able to enter the value also.

Connection Security Refresh

Refresh token lifetime.

Authentication Token Lifetime

Access token lifetime.

  • WireGuard

When WireGuard is selected, user may obtain the WireGuard client profile from the status page.

For WireGuard, select one WAN connection and one interface IP only. Username and a static IP will need to be entered to obtain the client profile.

Pre-shared Key

If L2TP with IPsec is selected in the VPN Type, enter the pre shared key in the text field. Please note that remote devices will need this preshared key to access the Balance.

Disabled Weak Ciphers

You may click the Description: C:\Document\Graphical Library\UI Screenies\2013-12-31_152446.jpg button to show in the Pre-shared key and enable this option.

When checked, weak ciphers such as 3DES will be disabled.

Please note: Legacy and Android devices may not be able to connect.

Connection Security Refresh

If OpenVPN is selected in the VPN Type, this setting is for specifying the interval for refreshing the connection.

Listen On

This setting is for specifying the WAN IP addresses that allow remote user access.

Port

If OpenVPN is selected in the VPN Type, the Port setting specifies the port(s) that correspond to the service.

Authentication Methods

Determine the method of authenticating remote users:

  • Local User Accounts

This setting allows you to define the Remote User Accounts. Click Add to input username and password to create an account. After adding the user accounts, you can click on a username to edit the account password.

User accounts:

This setting allows you to define the Remote User Accounts.
Click Add to input username and password to create an account. After adding the user accounts, you can click on a username to edit the account password.

Note:

The username must contain lowercase letters, numerics, underscore(_), dash(-), at sign(@), and period(.) only.

The password must be between 8 and 12 characters long.

  • LDAP Server

Enter the matching LDAP server details to allow for LDAP server authentication.

  • Radius Server

Enter the matching Radius server details to allow for Radius server authentication.

  • Active Directory

Enter the matching Active Directory details to allow for Active Directory server authentication.

14.14. Misc. Settings

14.14.1. High Availability

Peplink Balance supports high availability (HA) configurations via an open standard virtual router redundancy protocol (VRRP, RFC 3768).

In an HA configuration, two same-model Peplink Balance units provide redundancy and failover in a master-slave arrangement. In the event that the master unit is down, the slave unit becomes active.

High availability will be disabled automatically where there is a drop-in connection configured on a LAN bypass port.

The following diagram illustrates an HA configuration with two Peplink Balance units and two Internet connections:

Description: ha_UserManual

In the diagram, the WAN ports of each Peplink Balance unit connect to the router and to the modem. Both Peplink Balance units connect to the same LAN switch via a LAN port.

An elaboration on the technical details of the implementation of virtual router redundancy protocol (VRRP, RFC 3768) by the Balance follows:

  • In an HA configuration, the two Peplink Balance units communicate with each other using VRRP over the LAN.
  • The two Peplink Balance units broadcast heartbeat signals to the LAN at a frequency of one heartbeat signal per second.
  • In the event that no heartbeat signal from the master Peplink Balance unit is received in 3 seconds (or longer) since the last heartbeat signal, the slave Peplink Balance unit becomes active.
  • The slave Peplink Balance unit initiates the WAN connections and binds to a previously configured LAN IP address.
  • At a subsequent point when the master Peplink Balance unit recovers, it will once again become active.

You can configure high availability at Advanced > Misc. Settings > High Availability.

Interface for Master Router

Interface for Slave Router

High Availability

Enable

Checking this box specifies that the Peplink Balance unit is part of a high availability configuration.

Group Number

This number identifies a pair of Peplink Balance units operating in a high availability configuration. The two Peplink Balance units in the pair must have the same Group Number value.

Preferred Role

This setting specifies whether the Peplink Balance unit operates in master or slave mode. Click the corresponding radio button to set the role of the unit. One of the units in the pair must be configured as the master, and the other unit must be configured as the slave.

Resume Master Role Upon Recovery

This option is displayed when Master mode is selected in Preferred Role. If this option is enabled, once the device has recovered from an outage, it will take over and resume its Master role from the slave unit.

Configuration Sync.

This option is displayed when Slave mode is selected in Preferred Role. If this option is enabled and the Master Serial Number entered matches with the actual master unit's, the master unit will automatically transfer the configuration to this unit. Please make sure the LAN IP Address and the Subnet Mask fields are set correctly in the LAN settings page. You can refer to the Event Log for the configuration synchronization status.

Master Serial Number

If Configuration Sync. is checked, the serial number of the master unit is required here for the feature to work properly.

Virtual IP

The HA pair must share the same Virtual IP. The Virtual IP and the LAN Administration IP must be under the same network.

LAN Administration IP

This setting specifies a LAN IP address to be used for accessing administration functionality. This address should be unique within the LAN.

Subnet Mask

This setting specifies the subnet mask of the LAN.

Important Note

For Balance routers in NAT mode, the virtual IP (VIP) should be set as the default gateway for all hosts sitting on the LAN segment. For example, a firewall sitting behind the Balance should set its default gateway as the virtual IP instead of the IP of the master Balance.

Description: C:\Users\Alan-2\Downloads\ha_backup_howto.jpg

In drop-in mode, no other configuration needs to be set.

Description: C:\Users\Alan-2\Downloads\ha_backup_howto_dropin_22.jpg

Please note that the drop-in WAN cannot be configured as a LAN bypass port while it is configured for high availability.

14.14.2. Certificate Manager

This section allows you to assign certificates for the local VPN, OpenVPN, Captive Portal, MediaFast, ContentHub, Wi-Fi WAN (Client and CA) and web admin SSL for extra security.

Read the following knowledgebase article for full instructions on how to create and import a self-signed certificate: https://forum.peplink.com/t/how-to-create-a-self-signed-certificate-and-import-it-to-a-peplink-product/

14.14.3. Service Forwarding

Service forwarding settings are located at Advanced > Misc. Settings > Service Forwarding.

Service Forwarding

Service Forwarding

SMTP Forwarding

When this option is enabled, all outgoing SMTP connections destined for any host at TCP port 25 will be intercepted. These connections will be redirected to a specified SMTP server and port number. SMTP server settings for each WAN can be specified after selecting Enable.

Web Proxy Forwarding

When this option is enabled, all outgoing connections destined for the proxy server specified in Web Proxy Interception Settings will be intercepted. These connections will be redirected to a specified web proxy server and port number. Web proxy interception settings and proxy server settings for each WAN can be specified after selecting Enable.

DNS Forwarding

When this option is enabled, all outgoing DNS lookups will be intercepted and redirected to the built-in DNS name server. If any LAN device is using the DNS name servers of a WAN connection, you may want to enable this option to enhance the DNS availability without modifying the DNS server setting of the clients. The built-in DNS name server will distribute DNS lookups to corresponding DNS servers of all available WAN connections. In this case, DNS service will not be interrupted, even if any WAN connection is down.

Custom Service Forwarding

When custom service forwarding is enabled, outgoing traffic with the specified TCP port will be forwarded to a local or remote server by defining its IP address and port number.

SMTP Forwarding

Some ISPs require their users to send e-mails via the ISP’s SMTP server. All outgoing SMTP connections are blocked except those connecting to the ISP’s. The Peplink Balance supports the interception and redirection of all outgoing SMTP connections (destined for TCP port 25) via a WAN connection to the WAN’s corresponding SMTP server.

SMTP Forwarding Setup

To enable the feature, select Enable under SMTP Forwarding Setup. Check Enable Forwarding for the WAN connection(s) that needs forwarding. Under SMTP Server, enter the ISP’s e-mail server host name or IP address. Under SMTP Port, enter the TCP port number for each WAN.

The Peplink Balance will intercept SMTP connections. Choose a WAN port according to the outbound policy, and then forward the connection to the SMTP server, if the chosen WAN has enabled forwarding. If the forwarding is disabled for a WAN connection, SMTP connections for the WAN will simply be forwarded to the connection’s original destination.

Note

If you want to route all SMTP connections only to particular WAN connection(s), you should create a custom rule in outbound policy.

Web Proxy Forwarding

Web Proxy Forwarding Setup

When this feature is Enabled, the Peplink Balance will intercept all outgoing connections destined for the proxy server specified in Web Proxy Server Interception Settings. Then it will choose a WAN connection according to the outbound policy and forward the connection to the specified web proxy server and port number. Redirected server settings for each WAN can be set here. If forwarding is disabled for a WAN, then web proxy connections for that WAN will simply be forwarded to the connection’s original destination.

DNS Forwarding

DNS Forwarding Setup

When DNS forwarding is Enabled, all clients’ outgoing DNS requests will also be intercepted and forwarded to the built-in DNS proxy server.

Custom Service Forwarding

C:\Users\Alan-2\Dropbox\Peplink\2014-08-07 - 6.2.0 material\User Manuals\New MAX Screenies\2015-02-23_165253.png

After clicking the Enable checkbox, enter your TCP port for traffic heading to the router, and then specify the IP Address and Port of the server you wish to forward the service to.

14.14.4. Service Passthrough

Service passthrough settings can be found at Advanced > Misc. Settings > Service Passthrough.

Service Passthrough Support

Some Internet services need to be specially handled in a multi-WAN environment. The Peplink Balance can handle these services such that Internet applications do not notice it is behind a multi-WAN router. Settings for service passthrough support are available here.

Service Passthrough Support

SIP

Session initiation protocol, aka SIP, is a voice-over-IP protocol. The Peplink Balance can act as a SIP application layer gateway (ALG) which binds connections for the same SIP session to the same WAN connection and translates IP address in the SIP packets correctly in NAT mode. Such passthrough support is always enabled and there are two modes for selection: Standard Mode and Compatibility Mode.

If your SIP server’s signal port number is non-standard, you can check the box Define custom signal ports and input the port numbers to the text boxes.

H.323

With this option enabled, protocols that provide audio-visual communication sessions will be defined on any packet network and pass through the Balance.

FTP

FTP sessions consist of two TCP connections; one for control and one for data. In a multi-WAN situation, they must be routed to the same WAN connection. Otherwise, problems will arise in transferring files. By default, the Peplink Balance monitors TCP control connections on port 21 for any FTP connections and binds TCP connections of the same FTP session to the same WAN.

If you have an FTP server listening on a port number other than 21, you can check Define custom control ports and enter the port numbers in the text boxes.

TFTP

The Peplink Balance monitors outgoing TFTP connections and routes any incoming TFTP data packets back to the client. Select Enable if you want to enable TFTP passthrough support.

IPsec NAT-T

This field is for enabling the support of IPsec NAT-T passthrough. UDP ports 500, 4500, and 10000 are monitored by default.

You may add more custom data ports that your IPsec system uses by checking Define custom ports. If the VPN contains IPsec site-to-site VPN traffic, check Route IPsec Site-to-Site VPN and choose the WAN connection to route the traffic to.

14.14.5. GPS

This setting is to specify the priority of the GPS source to be used for receiving GPS data. The device will always use the highest priority GPS source to receive GPS data. A lower priority GPS source will only be used when all higher priority GPS source data is invalid or unavailable. GPS source type will be shown on the Dashboard map.

14.14.6. GPS Forwarding

Using the GPS forwarding feature, some Peplink routers can automatically send GPS reports to a specified server. To set up GPS forwarding, navigate to Advanced > GPS Forwarding.

GPS Forwarding

Enable

Check this box to turn on GPS forwarding.

Server

Enter the name/IP address of the server that will receive GPS data. Also specify a port number, protocol (UDP or TCP), and a report interval of between 1 and 10 seconds. Click Description: Plus to save these settings.

GPS Report Format

Choose from NMEA or TAIP format for sending GPS reports.

NMEA Sentence Type

If you’ve chosen to send GPS reports in NMEA format, select one or more sentence types for sending the data (GPRMC, GPGGA, GPVTG, GPGSA, and GPGSV).

Vehicle ID

The vehicle ID will be appended in the last field of the NMEA sentence. Note that the NMEA sentence will become customized and non-standard.

TAIP Sentence Type/TAIP ID (optional)

If you’ve chosen to send GPS reports in TAIP format, select one or more sentence types for sending the data (PV—Position / Velocity Solution and CP—Compact Velocity Solution). You can also optionally include an ID number in the TAIP ID field.

14.14.7. NTP Server

Peplink routers can now serve as a local NTP server. Upon start up, it is now able to provide connected devices with the accurate time, precise UTC from either an external NTP server or via GPS and ensuring that connected devices always receive the correct time.

NTP Server setting can be found via: Advanced > Misc. Settings > NTP Server.

Time Settings can be found at System>Time>Time Settings.

14.14.8. Grouped Networks

Using “Grouped Networks” you can group and name a range of IP addresses, which can then be used to define firewall rules or outbound policies.

Start by clicking on “Add Group” then fill in the appropriate field.
In this example we’ll create a group “accounting”
Click save when you have finished adding the required networks.

The grouped network “accounting” can now be used to configure a group policy or firewall rule.

14.14.9. Remote SIM Management

Remote SIM management is accessible via Advanced > Misc Settings > Remote SIM Management. By default, this feature is disabled.

Please note that a limited number of Peplink routers support the SIM Injector, may refer to the link: https://www.peplink.com/products/sim-injector/ or Appendix C for more details on FusionSIM Manual.

Remote SIM Host Settings

You may click to configure the remote SIM host settings for the remote SIM server.

Remote SIM Host Settings

Active LAN Discovery

Check this box to enable Auto LAN discovery of the remote SIM server.

Remote SIM Host

Enter the public IP address of the SIM Injector. If you enter IP addresses here, it is not necessary to tick the “Auto LAN Discovery” box above.

You may define the Remote SIM information by clicking the “Add Remote SIM”. Here, you can enable Data Roaming and custom APN for your SIM cards.

Add Remote SIM Settings

SIM Server

Add a new SIM Server

SIM Server - Serial Number

Enter the serial number of the SIM Server.

SIM Server - Name

This optional field allows you to define a name for the SIM Server.

SIM Slot

Click the drop-down menu and choose which SIM slot you want to connect.

SIM Slot - Name

This optional field allows you to define a name for the SIM slot.

Data Roaming

Enables data roaming on this particular SIM card.

Operator Settings (for LTE//HSPA/EDGE/GPRS Only)

This setting allows you to configure the APN settings of your connection. If Auto is selected, the mobile operator should be detected automatically. The connected device will be configured and connection will be made automatically. If there is any difficulty in making a connection, you may select Custom to enter your carrier’s APN, Username and Password settings manually. The correct values can be obtained from your carrier. The default and recommended setting is Auto.

14.14.10. SIM Toolkit

The SIM Toolkit can be found via Advanced > Misc Settings > SIM Toolkit.This supports two functionalities, USSD and SMS.

USSD
Unstructured Supplementary Service Data (USSD) is a protocol used by mobile phones to communicate with their service provider’s computers. One of the most common uses is to query the available balance.

Enter your USSD code under the USSD Code text field and click Submit.

You will receive a confirmation. To check the SMS response, click Get.

After a few minutes you will receive a response to your USSD code.

SMS

The SMS option allows you to read SMS (text) messages that have been sent to the SIM in your Pepwave router. Clicking the will allow users to erase all SMS on the SIM card.

14.14.11. UDP Relay

You may define the UDP relay by clicking the Advanced > Misc Settings > UDP Relay. You can click to enable the UDP relay to relay UDP Broadcast or Multicast traffic for LAN/VLAN/SpeedFusion VPN.

Click “New UDP Relay Rule” to define the relay rule.

UDP Relay

Name

This field is for specifying a name to represent this profile.

Port

This field is to enter the specific port number for the UDP relay.

Multicast

If Multicast is not selected, it will broadcast relay rule. If Multicast is selected, you may need to enter a valid multicast address.

Secure Network

Select the specific connection as a source network to where the device is to relay UDP Broadcast packets.

Destination Network

You may select the specific connection from the drop-down list or may custom combination network as a destination network that receives the UDP packet relays.

On this page