Guest User

FortiVPN-Head

a guest
Aug 7th, 2026
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. Head Office:
  2.  
  3. GATE01(Primary) (NetLab1) # sho vpn ipsec phase1-interface
  4. config vpn ipsec phase1-interface
  5. edit "S2S_1"
  6. set interface "NL1-1"
  7. set local-gw 172.16.1.1
  8. set peertype any
  9. set net-device disable
  10. set proposal aes256-sha512 aes256-sha256
  11. set comments "VPN: S2S_1 -- Created by VPN wizard"
  12. set dhgrp 21 20
  13. set wizard-type static-fortigate
  14. set auto-discovery-sender enable
  15. set remote-gw 172.16.1.2
  16. set psksecret ENC icHbdHoDV+Raoke5BGQwL6lO+CaiqD5TukT8ffxhHXyWpF5xe5pM/jwdYazC8b7jPiU2j7FGJBulsiMyjfMmOf0PgBXX+03aoCQuSyuiYONCPFm072tycpDWduP37MfCSHLIWTQczNHOBnpyTd3JifXGHUgnzO+dZ7rmR986Xyondv1Um64QsODvc0N6mlLL4tM+GVlmMjY3dkVA
  17. next
  18. end
  19.  
  20. GATE01(Primary) (NetLab1) # sho vpn ipsec phase2-interface
  21. config vpn ipsec phase2-interface
  22. edit "S2S_1"
  23. set phase1name "S2S_1"
  24. set proposal aes256-sha512 aes256-sha256
  25. set dhgrp 21 20
  26. set auto-negotiate enable
  27. set comments "VPN: S2S_1 -- Created by VPN wizard"
  28. next
  29. end
  30.  
  31. GATE01(Primary) (NetLab1) # sho sys interface S2S_1
  32. config system interface
  33. edit "S2S_1"
  34. set vdom "NetLab1"
  35. set ip 10.17.255.2 255.255.255.255
  36. set allowaccess ping
  37. set type tunnel
  38. set remote-ip 10.17.255.1 255.255.255.0
  39. set snmp-index 72
  40. set interface "NL1-1"
  41. next
  42. end
  43.  
  44. GATE01(Primary) (NetLab1) # sho sys interface NL1-2
  45. config system interface
  46. edit "NL1-2"
  47. set vdom "NetLab1"
  48. set ip 172.16.1.1 255.255.255.252
  49. set allowaccess ping https
  50. set alias "NetLab FW1-1"
  51. set device-identification enable
  52. set role lan
  53. set snmp-index 94
  54. set ip-managed-by-fortiipam disable
  55. set interface "fortilink"
  56. set vlanid 1902
  57. next
  58. end
  59.  
  60. GATE01(Primary) (NetLab1) # diag vpn ipsec status
  61. All ipsec crypto devices in use:
  62. np7_0:
  63. Encryption (encrypted/decrypted)
  64. null : 0 0
  65. des : 0 0
  66. 3des : 0 0
  67. aes : 4558 8192
  68. aes-gcm : 0 0
  69. aria : 0 0
  70. seed : 0 0
  71. chacha20poly1305 : 0 0
  72. Integrity (generated/validated)
  73. null : 0 0
  74. md5 : 0 0
  75. sha1 : 4558 2048
  76. sha256 : 0 0
  77. sha384 : 0 0
  78. sha512 : 0 6144
  79.  
  80. NPU Host Offloading:
  81. Encryption (encrypted/decrypted)
  82. null : 0 0
  83. des : 0 0
  84. 3des : 0 0
  85. aes : 14205 0
  86. aes-gcm : 0 0
  87. aria : 0 0
  88. seed : 0 0
  89. chacha20poly1305 : 0 0
  90. Integrity (generated/validated)
  91. null : 0 0
  92. md5 : 0 0
  93. sha1 : 14212 0
  94. sha256 : 0 0
  95. sha384 : 0 0
  96. sha512 : 0 0
  97.  
  98. CP9:
  99. Encryption (encrypted/decrypted)
  100. null : 0 0
  101. des : 0 0
  102. 3des : 0 0
  103. aes : 92 6661
  104. aes-gcm : 0 0
  105. aria : 0 0
  106. seed : 0 0
  107. chacha20poly1305 : 0 0
  108. Integrity (generated/validated)
  109. null : 0 0
  110. md5 : 0 0
  111. sha1 : 92 6653
  112. sha256 : 0 0
  113. sha384 : 0 0
  114. sha512 : 0 8
  115.  
  116. INTEL:
  117. Encryption (encrypted/decrypted)
  118. null : 0 0
  119. des : 0 0
  120. 3des : 0 0
  121. aes : 0 0
  122. aes-gcm : 0 0
  123. aria : 0 0
  124. seed : 0 0
  125. chacha20poly1305 : 0 0
  126. Integrity (generated/validated)
  127. null : 0 0
  128. md5 : 0 0
  129. sha1 : 0 0
  130. sha256 : 0 0
  131. sha384 : 0 0
  132. sha512 : 0 0
  133.  
  134. SOFTWARE:
  135. Encryption (encrypted/decrypted)
  136. null : 0 0
  137. des : 0 0
  138. 3des : 0 0
  139. aes : 0 0
  140. aes-gcm : 0 0
  141. aria : 0 0
  142. seed : 0 0
  143. chacha20poly1305 : 0 0
  144. Integrity (generated/validated)
  145. null : 0 0
  146. md5 : 0 0
  147. sha1 : 0 0
  148. sha256 : 0 0
  149. sha384 : 0 0
  150. sha512 : 0 0
  151.  
  152. GATE01(Primary) (NetLab1) # diag vpn tunnel list
  153. list all ipsec tunnel in vd 1
  154. ------------------------------------------------------
  155. name=S2S_1 ver=1 serial=309 172.16.1.1:0->172.16.1.2:0 nexthop= tun_id=172.16.1.2 tun_id6=::172.16.1.2 status=up dst_mtu=1500 weight=1
  156. bound_if=103 real_if=104 lgwy=static/1 tun=intf mode=auto/1 encap=none/552 options[0228]=npu frag-rfc run_state=0 role=sync-primary accept_traffic=1 overlay_id=0
  157.  
  158. proxyid_num=1 child_num=0 refcnt=4 ilast=25 olast=25 ad=s/1
  159. stat: rxp=1 txp=68 rxb=84 txb=5208
  160. dpd: mode=on-demand on=1 status=ok idle=20000ms retry=3 count=0 seqno=25
  161. natt: mode=none draft=0 interval=0 remote_port=0
  162. fec: egress=0 ingress=0
  163. proxyid=S2S_1 proto=0 sa=1 ref=3 serial=5 auto-negotiate ads
  164. src: 0:0.0.0.0-255.255.255.255:0
  165. dst: 0:0.0.0.0-255.255.255.255:0
  166. SA: ref=4 options=18a27 type=00 soft=0 mtu=1280 expire=41457/0B replaywin=2048
  167. seqno=1 esn=0 replaywin_lastseq=00000002 qat=0 rekey=0 hash_search_len=1
  168. life: type=01 bytes=0/0 timeout=42899/43200
  169. dec: spi=d0bfcd16 esp=aes key=32 c312952c1aec7fb7ffc87c21c6224808dca19bd7228438ad527b9910a65959a2
  170. ah=sha512 key=64 7fb0c38a3a7ec42721bd0c7f09381dcd8360042cb44759dccd17b8eddfe477c38c96b36c58c1ee468b05a3011483ca61ff2d01755369bed242d6738e15070184
  171. enc: spi=33cdc016 esp=aes key=32 6fdd4a7f76b1db106911dba86908a4054d44cc66dfb574c4a2a0cea292d51750
  172. ah=sha512 key=64 5b1255a37758284828a8dd75eea02a0e4ba45f3ba0b1c4abf4829e641204b53daf98f9e81b573e862f4777e7d4f099e999251d2e556ffb53dd65ddc5be680082
  173. dec:pkts/bytes=1/84, enc:pkts/bytes=68/5208
  174. npu_flag=02 npu_rgwy=172.16.1.2:0 npu_lgwy=172.16.1.1:0 npu_selid=316
  175. dec_npuid=1 enc_npuid=0 dec_engid=-1 enc_engid=-1 dec_saidx=664 enc_saidx=-1
  176.  
  177. GATE01(Primary) (NetLab1) # diag vpn tun stat
  178. dev=2 attached=0 tunnel=2 proxyid=1 sa=1 conc=0 up=1 crypto_work=0 crypto_work_dropped=0
  179. mr_grps=0 mr_children=0 mr_flood_list=0 mr_fw_list=0
Advertisement
Add Comment
Please, Sign In to add comment