Sometimes it is necessary to have a connection from the PC with Key to a specific device on WAN interface of the Lock. For example the PC needs an access to a server or printer connected to WAN network.
When the PC connects to the Lock via Key, the following set-up will tell the PC that the IP address 192.168.100.254 is to be routed to the Lock in addition to traffic to lock LAN IP address range. All other traffic is handled by the default gateway of the PC network.
Here’s how to add a route via the lock to the server/printer
Preconditions:
- Key connection type is “Layer 3 – routed”
- Lock connected from WAN to company network.
- Lock WAN IP 192.168.100.10 / 255.255.255.0
- WAN gateway IP 192.168.100.1
- Server to be accessed has IP 192.168.100.254
- Lock LAN IP 10.25.25.1 / 255.255.255.0
- on Settings > Advanced settings scroll down to "Internet access rights":
- enter 192.168.100.254 as the target to field “IP addresses to be accessible through Locks WAN or USB modem connection”
- press “Save”
- on Settings > Advanced settings scroll down to "Internet access rights":
If you need similar setup when Key connection type is set to “Layer 2 – bridged” you can issue the command
route add 192.168.100.254 mask 255.255.255.0 10.25.25.1
on command prompt.