Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
configuration:security:devices [2015/01/08 16:36]
admin [Mikrotik]
configuration:security:devices [2015/02/09 11:38]
admin [Mikrotik]
Line 42: Line 42:
  
 {{ :​configuration:​security:​mikrotik_vpn_conf5.png?​nolink |}} {{ :​configuration:​security:​mikrotik_vpn_conf5.png?​nolink |}}
 +
 +
 +== Setting VPN using the terminal ==
 +
 +Schema:
 +
 +^LAN-MK ^ MK ^ CM ^ LAN-CM ^
 +|172.26.7.0/​24 | 192.168.20.1 | 192.168.10.1 | 10.10.2.0/​24 |
 +
 +
 +Commands:
 +
 +/ip ipsec peer add address=192.168.10.1/​32 port=500 auth-method=pre-shared-key secret="​PSKEYSECRET2013"​
 +
 +/ip ipsec policy add src-address=172.26.7.0/​24 src-port=any dst-address=10.10.2.0/​24 dst-port=any sa-src-address=192.168.20.1 sa-dst-address=192.168.10.1 tunnel=yes action=encrypt proposal=default
 +
 +/ip firewall nat add chain=srcnat action=accept ​ place-before=0 src-address=172.26.7.0/​24 dst-address=10.10.2.0/​24
 +
  
 ===== SONICWALL ===== ===== SONICWALL =====
/home/www/wiki/data/pages/configuration/security/devices.txt ยท Last modified: 2015/02/09 11:39 by admin
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki