EasyManua.ls Logo

Digi TransPort LR54 - Page 223

Digi TransPort LR54
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Virtual Private Networks (VPN) Generic Routing Encapsulation (GRE)
Digi TransPort WR Routers User Guide
223
Command line
To create a GRE tunnel, use the gre command. For example:
1. Configure the GRE tunnel peer IP address or domain name:
digi.router> gre 1 peer 47.23.78.32
2. Configure the GRE tunnel IP address and mask:
digi.router> gre 1 ip-address 10.10.0.2
digi.router> gre 1 mask 255.255.255.252
3. (Optional) Configure the GRE key:
digi.router> gre 1 key 1
4. Enable the GRE tunnel by setting the state to on:
digi.router> gre 1 state on
5. Add a route for the remote network:
digi.router> route 1 destination 10.1.2.0
digi.router> route 1 mask 255.255.255.0
digi.router> route 1 interface gre1
For more information, see the route command.
6. Add an IP filter to allow packets to be forwarded to the local network:
digi.router> ip-filter 1 description Forward rule for GRE 1”
digi.router> ip-filter 1 src gre1
digi.router> ip-filter 1 dst lan1
digi.router> ip-filter 1 protocol any
digi.router> ip-filter 1 state on
For more information, see the ip-filter command.
7. Save the configuration:
digi.router> save config

Table of Contents

Other manuals for Digi TransPort LR54

Related product manuals