 config vpn ipsec phase1
     edit " vpnCUSTpol" 
         set interface " wan1" 
         set nattraversal disable
         set dhgrp 2
         set keylife 86400
         set proposal aes256-sha1
         set dpd disable
         set remote-gw 135.4.4.51
         set psksecret ENC 7nV0BleK7zZepNi8NLPE6wMIGlpFOGIAbcYNTuiLyq+mTwhJvob8yjughpyZmcJcpILwAu8r5Hx8z0Xa3Jl6v8XVrhAiEX8qqvQLs4VolQkhJBiH
         set auto-negotiate disable
     next
 end
 
 config vpn ipsec phase2
     edit " p2CUSTpol" 
         set dst-addr-type name
         set pfs disable
         set phase1name " vpnCUSTpol" 
         set proposal des-md5
         set replay disable
         set src-addr-type ip
         set dst-name " VPN-Cust" 
         set keylifeseconds 3600
         set src-start-ip 107.2.2.117
     next
 end
 
 
 config vpn ipsec phase1
     edit " vpnCUSTpol" 
         set interface " wan1" 
         set nattraversal disable
         set dhgrp 2
         set keylife 86400
         set proposal aes256-sha1
         set dpd disable
         set remote-gw 135.4.4.51
         set psksecret ENC 7nV0BleK7zZepNi8NLPE6wMIGlpFOGIAbcYNTuiLyq+mTwhJvob8yjughpyZmcJcpILwAu8r5Hx8z0Xa3Jl6v8XVrhAiEX8qqvQLs4VolQkhJBiH
         set auto-negotiate disable
     next
 end
 
 config vpn ipsec phase2
     edit " p2CUSTpol" 
         set dst-addr-type name
         set pfs disable
         set phase1name " vpnCUSTpol" 
         set proposal des-md5
         set replay disable
         set src-addr-type ip
         set dst-name " VPN-Cust" 
         set keylifeseconds 3600
         set src-start-ip 107.2.2.117
     next
 end
					
				
			
			
				PCNSE
NSE
StrongSwan
config vpn ipsec phase2 edit " p2CUSTpol" set dst-addr-type name set pfs disable set phase1name " vpnCUSTpol" set proposal des-md5 set replay disable set src-addr-type ip set dst-name " VPN-Cust" set keylifeseconds 3600 set src-start-ip 107.2.2.117 next endIn the past, The ' set dst-addr-type name' didn' t always work between FGTs and other vendors. Try using the IP address instead.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Are you 100% sure that your clients are being NAT' d behind the VIP address 107.2.2.117?No, I' m not... And it should only be one client, the rest of the network is NAT' d out the WAN1 interface.
Try using the IP address instead.Did that, VPN still won' t come up. NO-PROPOSAL-CHOSEN is what the log says. I' m mostly interested in getting the VPN up, then working on traffic flow. That should be possible shouldn' t it?
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
 
					
				
				
			
		
| User | Count | 
|---|---|
| 2707 | |
| 1416 | |
| 810 | |
| 716 | |
| 455 | 
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.