Routing
TransPort LR User Guide
90
TransPort LR54 configuration
TransPort WR44 configuration
digi.router> lan 1
state
on
description
IPsec local net
mtu
1500
interfaces
eth2,eth3,eth4
ip-address
192.168.54.1
mask
255.255.255.0
dns1
dns2
dhcp-client
off
digi.router> lan 2
state
on
description
Link to WR44
mtu
1500
interfaces
eth1
ip-address
10.0.0.54
mask
255.255.255.0
dns1
dns2
dhcp-client
off
digi.router> ipsec 1
state
on
description
Tunnel to WR44
peer
10.0.0.44
local-network
192.168.54.0
local-mask
255.255.255.0
remote-network
192.168.44.0
remote-mask
255.255.255.0
esp-authentication
sha1
esp-encryption
aes128
esp-diffie-hellman
none
auth-by
psk
psk
<configured>
local-id
10.0.0.54
remote-id
10.0.0.44
lifetime
3600
lifebytes
0
margintime
540
marginbytes
0
random
100
ike
1
ike-mode
aggressive
ike-encryption
aes128
ike-authentication
sha1
ike-diffie-hellman
group5
ike-lifetime
3600
ike-tries
3
dpddelay
30
dpdtimeout
150
# Link to TransPort LR54
eth 0 IPaddr "10.0.0.44"
eth 0 ipsec 1
# IPsec local network
eth 1 IPaddr "192.168.44.1"
# Route to remote network
route 0 IPaddr "192.168.54.0"
route 0 ll_ent "eth"
# IPsec tunnel configuration
eroute 0 peerip "10.0.0.54"
eroute 0 peerid "10.0.0.54"
eroute 0 ourid "10.0.0.44"
eroute 0 ouridtype 3
eroute 0 locip "192.168.44.0"
eroute 0 locmsk
"255.255.255.0"
eroute 0 remip "192.168.54.0"
eroute 0 remmsk
"255.255.255.0"
eroute 0 ESPauth "sha1"
eroute 0 ESPenc "aes"
eroute 0 authmeth "preshared"
eroute 0 autosa 2
# IKE configuration
ike 0 encalg "aes"
ike 0 keybits 128
ike 0 authalg "sha1"
ike 0 ltime 30000
ike 0 aggressive ON
ike 0 ikegroup 5
# Remote ID / Password
user 1 name "10.0.0.54"
user 1 epassword "MDp6Vko=