This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
configuration:gre-over-ipsec [2015/11/05 10:10] siuman created |
configuration:gre-over-ipsec [2015/11/05 10:19] siuman |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Two boxes for GRE-over-IPSec | + | Two NB1600 connected together through LAN1 |
+ | GRE tunnel was established through this network and IPSec tunnel create through this GRE tunnel. | ||
+ | |||
+ | The configurations of two NB1600 are as below: | ||
+ | |||
+ | **Config of Box1: | ||
+ | ** | ||
+ | config.version=1.5 | ||
+ | config.product=1600 | ||
+ | cert.settings.phrase=[enc]SkXg/Fq8i25aWqAtZYd6tA== | ||
+ | network.lan.1.address=192.168.4.1 | ||
+ | network.dhcp.1.start=192.168.4.100 | ||
+ | network.dhcp.1.end=192.168.4.199 | ||
+ | network.mss.status=1 | ||
+ | network.mss.adjustment=1360 | ||
+ | ipsec.status=1 | ||
+ | ipsec.0.remote.serverIp=192.168.10.2 | ||
+ | ipsec.0.ike.psk=[enc]zGQu4Nc8hH2jI5LDF0o7GA== | ||
+ | ipsec.0.ike.localId=ipsec_l | ||
+ | ipsec.0.ike.localIdType=FQDN | ||
+ | ipsec.0.ike.remoteId=ipsec_r | ||
+ | ipsec.0.ike.remoteIdType=FQDN | ||
+ | ipsec.0.local.0.lanAddress=192.168.4.0 | ||
+ | ipsec.0.local.0.lanMask=255.255.255.0 | ||
+ | ipsec.0.remote.0.lanAddress=192.168.2.0 | ||
+ | ipsec.0.remote.0.lanMask=255.255.255.0 | ||
+ | gre.status=1 | ||
+ | gre.tunnel.0.peer=192.168.1.2 | ||
+ | gre.tunnel.0.local.address=192.168.10.1 | ||
+ | gre.tunnel.0.local.netmask=255.255.255.0 | ||
+ | gre.tunnel.0.remote.network=192.168.20.0 | ||
+ | gre.tunnel.0.remote.netmask=255.255.255.0 | ||
+ | admin.password=[enc]SkXg/Fq8i25aWqAtZYd6tA== | ||
+ | route.0.interface=lan0 | ||
+ | route.0.target=192.168.0.0 | ||
+ | route.0.netmask=255.255.0.0 | ||
+ | route.0.gateway=0.0.0.0 | ||
+ | route.0.metric=0 | ||
+ | serial.1.status=0 | ||
+ | |||
+ | **Config of Box2: | ||
+ | ** | ||
+ | |||
+ | config.version=1.5 | ||
+ | config.product=2700 | ||
+ | cert.settings.phrase=[enc]SkXg/Fq8i25aWqAtZYd6tA== | ||
+ | network.lan.0.address=192.168.1.2 | ||
+ | network.lan.4.address=192.168.2.2 | ||
+ | network.mss.status=1 | ||
+ | network.mss.adjustment=1360 | ||
+ | ipsec.status=1 | ||
+ | ipsec.0.remote.serverIp=192.168.10.1 | ||
+ | ipsec.0.ike.psk=[enc]zGQu4Nc8hH2jI5LDF0o7GA== | ||
+ | ipsec.0.ike.localId=ipsec_r | ||
+ | ipsec.0.ike.localIdType=FQDN | ||
+ | ipsec.0.ike.remoteId=ipsec_l | ||
+ | ipsec.0.ike.remoteIdType=FQDN | ||
+ | ipsec.0.local.0.lanAddress=192.168.2.0 | ||
+ | ipsec.0.local.0.lanMask=255.255.255.0 | ||
+ | ipsec.0.remote.0.lanAddress=192.168.4.0 | ||
+ | ipsec.0.remote.0.lanMask=255.255.255.0 | ||
+ | gre.status=1 | ||
+ | gre.tunnel.0.peer=192.168.1.1 | ||
+ | gre.tunnel.0.local.address=192.168.10.2 | ||
+ | gre.tunnel.0.local.netmask=255.255.255.0 | ||
+ | gre.tunnel.0.remote.network=192.168.40.0 | ||
+ | gre.tunnel.0.remote.netmask=255.255.255.0 | ||
+ | admin.password=[enc]SkXg/Fq8i25aWqAtZYd6tA== | ||
+ | route.0.interface=lan0 | ||
+ | route.0.target=192.168.0.0 | ||
+ | route.0.netmask=255.255.0.0 | ||
+ | route.0.gateway=0.0.0.0 | ||
+ | route.0.metric=0 | ||
+ | serial.1.status=0 | ||
+ |