|
############################################################################################
|
|
### I have replaced unique data with "xxx" (local) and "yyy" (remote). And also removed PSK.
|
|
############################################################################################
|
|
|
|
<ipsec>
|
|
<preferoldsa/>
|
|
<phase1>
|
|
<ikeid>1</ikeid>
|
|
<interface>wan</interface>
|
|
<remote-gateway>77.53.yyy.130</remote-gateway>
|
|
<mode>aggressive</mode>
|
|
<protocol>inet</protocol>
|
|
<myid_type>address</myid_type>
|
|
<myid_data>87.96.xxx.51</myid_data>
|
|
<peerid_type>address</peerid_type>
|
|
<peerid_data>77.53.yyy.130</peerid_data>
|
|
<encryption-algorithm>
|
|
<name>3des</name>
|
|
</encryption-algorithm>
|
|
<hash-algorithm>sha1</hash-algorithm>
|
|
<dhgroup>1</dhgroup>
|
|
<lifetime>28800</lifetime>
|
|
<pre-shared-key>removed_private_key_for_security</pre-shared-key>
|
|
<private-key/>
|
|
<certref/>
|
|
<caref/>
|
|
<authentication_method>pre_shared_key</authentication_method>
|
|
<generate_policy/>
|
|
<proposal_check/>
|
|
<descr><![CDATA[STEFA]]></descr>
|
|
<nat_traversal>off</nat_traversal>
|
|
<dpd_delay>10</dpd_delay>
|
|
<dpd_maxfail>5</dpd_maxfail>
|
|
</phase1>
|
|
<phase1>
|
|
<ikeid>3</ikeid>
|
|
<interface>wan</interface>
|
|
<remote-gateway>77.53.yyy.142</remote-gateway>
|
|
<mode>main</mode>
|
|
<protocol>inet</protocol>
|
|
<myid_type>myaddress</myid_type>
|
|
<myid_data/>
|
|
<peerid_type>peeraddress</peerid_type>
|
|
<peerid_data/>
|
|
<encryption-algorithm>
|
|
<name>3des</name>
|
|
</encryption-algorithm>
|
|
<hash-algorithm>sha1</hash-algorithm>
|
|
<dhgroup>1</dhgroup>
|
|
<lifetime>28800</lifetime>
|
|
<pre-shared-key>removed_private_key_for_security</pre-shared-key>
|
|
<private-key/>
|
|
<certref/>
|
|
<caref/>
|
|
<authentication_method>pre_shared_key</authentication_method>
|
|
<generate_policy/>
|
|
<proposal_check/>
|
|
<descr><![CDATA[... KUNGSGATAN VPN]]></descr>
|
|
<nat_traversal>off</nat_traversal>
|
|
</phase1>
|
|
<phase1>
|
|
<ikeid>2</ikeid>
|
|
<interface>opt1</interface>
|
|
<remote-gateway>2001:470:27:yyy::2</remote-gateway>
|
|
<mode>aggressive</mode>
|
|
<protocol>inet6</protocol>
|
|
<myid_type>myaddress</myid_type>
|
|
<myid_data/>
|
|
<peerid_type>peeraddress</peerid_type>
|
|
<peerid_data/>
|
|
<encryption-algorithm>
|
|
<name>3des</name>
|
|
</encryption-algorithm>
|
|
<hash-algorithm>sha1</hash-algorithm>
|
|
<dhgroup>1</dhgroup>
|
|
<lifetime>28800</lifetime>
|
|
<pre-shared-key>removed_private_key_for_security</pre-shared-key>
|
|
<private-key/>
|
|
<certref/>
|
|
<caref/>
|
|
<authentication_method>pre_shared_key</authentication_method>
|
|
<generate_policy/>
|
|
<proposal_check/>
|
|
<descr><![CDATA[... KUNGSGATAN VPN IPv6]]></descr>
|
|
<nat_traversal>off</nat_traversal>
|
|
<dpd_delay>10</dpd_delay>
|
|
<dpd_maxfail>5</dpd_maxfail>
|
|
</phase1>
|
|
<client>
|
|
<user_source>Local Database</user_source>
|
|
<group_source>none</group_source>
|
|
</client>
|
|
<phase2>
|
|
<ikeid>1</ikeid>
|
|
<mode>tunnel</mode>
|
|
<localid>
|
|
<type>lan</type>
|
|
</localid>
|
|
<remoteid>
|
|
<type>network</type>
|
|
<address>192.168.100.0</address>
|
|
<netbits>24</netbits>
|
|
</remoteid>
|
|
<protocol>esp</protocol>
|
|
<encryption-algorithm-option>
|
|
<name>3des</name>
|
|
</encryption-algorithm-option>
|
|
<hash-algorithm-option>hmac_md5</hash-algorithm-option>
|
|
<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
|
|
<pfsgroup>1</pfsgroup>
|
|
<lifetime>3600</lifetime>
|
|
<pinghost>192.168.100.1</pinghost>
|
|
<descr><![CDATA[...local]]></descr>
|
|
</phase2>
|
|
<phase2>
|
|
<ikeid>3</ikeid>
|
|
<mode>tunnel</mode>
|
|
<localid>
|
|
<type>lan</type>
|
|
</localid>
|
|
<remoteid>
|
|
<type>network</type>
|
|
<address>192.168.192.0</address>
|
|
<netbits>24</netbits>
|
|
</remoteid>
|
|
<protocol>esp</protocol>
|
|
<encryption-algorithm-option>
|
|
<name>3des</name>
|
|
</encryption-algorithm-option>
|
|
<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
|
|
<pfsgroup>1</pfsgroup>
|
|
<lifetime>3600</lifetime>
|
|
<pinghost>192.168.192.15</pinghost>
|
|
<descr><![CDATA[... KUNGSGATAN LOCAL LAN]]></descr>
|
|
</phase2>
|
|
<phase2>
|
|
<ikeid>2</ikeid>
|
|
<mode>tunnel6</mode>
|
|
<localid>
|
|
<type>lan</type>
|
|
</localid>
|
|
<remoteid>
|
|
<type>network</type>
|
|
<address>2001:470:28:yyy::</address>
|
|
<netbits>64</netbits>
|
|
</remoteid>
|
|
<protocol>esp</protocol>
|
|
<encryption-algorithm-option>
|
|
<name>3des</name>
|
|
</encryption-algorithm-option>
|
|
<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
|
|
<pfsgroup>1</pfsgroup>
|
|
<lifetime>3600</lifetime>
|
|
<pinghost>2001:470:28:yyy::1</pinghost>
|
|
<descr><![CDATA[... KUNGSGATAN LOCAL LAN IPv6]]></descr>
|
|
</phase2>
|
|
<enable/>
|
|
</ipsec>
|
|
|
|
<interfaces>
|
|
<wan>
|
|
<enable/>
|
|
<if>re0</if>
|
|
<blockpriv/>
|
|
<blockbogons/>
|
|
<descr><![CDATA[WAN]]></descr>
|
|
<ipaddr>87.96.xxx.51</ipaddr>
|
|
<subnet>24</subnet>
|
|
<gateway>Alltele</gateway>
|
|
<spoofmac/>
|
|
</wan>
|
|
<lan>
|
|
<enable/>
|
|
<if>re1</if>
|
|
<descr><![CDATA[LAN]]></descr>
|
|
<spoofmac/>
|
|
<ipaddr>192.168.120.20</ipaddr>
|
|
<subnet>24</subnet>
|
|
<ipaddrv6>2001:470:28:xxx::1</ipaddrv6>
|
|
<subnetv6>64</subnetv6>
|
|
</lan>
|
|
<opt1>
|
|
<descr><![CDATA[Tunnelbroker]]></descr>
|
|
<if>gif0</if>
|
|
<spoofmac/>
|
|
<mtu>1480</mtu>
|
|
<enable/>
|
|
<ipaddrv6>2001:470:27:xxx::2</ipaddrv6>
|
|
<subnetv6>64</subnetv6>
|
|
<gatewayv6>TunnelbrokerGWv6</gatewayv6>
|
|
</opt1>
|
|
</interfaces>
|
|
|
|
<gateways>
|
|
<gateway_item>
|
|
<interface>wan</interface>
|
|
<gateway>87.96.xxx.1</gateway>
|
|
<name>Alltele</name>
|
|
<weight>1</weight>
|
|
<interval/>
|
|
<descr><![CDATA[ALLTELE]]></descr>
|
|
<defaultgw/>
|
|
<ipprotocol>inet</ipprotocol>
|
|
</gateway_item>
|
|
<gateway_item>
|
|
<interface>opt1</interface>
|
|
<gateway>2001:470:27:xxx::1</gateway>
|
|
<name>TunnelbrokerGWv6</name>
|
|
<weight>1</weight>
|
|
<ipprotocol>inet6</ipprotocol>
|
|
<interval/>
|
|
<descr/>
|
|
<defaultgw/>
|
|
</gateway_item>
|
|
</gateways>
|