This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
configuration:gre-over-ipsec [2015/11/05 10:19] siuman |
configuration:gre-over-ipsec [2015/11/05 10:31] siuman |
||
---|---|---|---|
Line 4: | Line 4: | ||
The configurations of two NB1600 are as below: | The configurations of two NB1600 are as below: | ||
- | **Config of Box1: | + | **Configure 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: | + | {{:configuration:gre-over-ipsec-box1.png|}} |
+ | |||
+ | **Configure of Box2: | ||
** | ** | ||
- | config.version=1.5 | + | {{:configuration:gre-over-ipsec-box2.png|}} |
- | 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 | + | |