Skip to main content
dave-teoh
New Member
June 1, 2022
Solved

Urgent- IP Sec VPN between Fortifate 80E and 100D

  • June 1, 2022
  • 12 replies
  • 6487 views

Dear All Guru,

 

i need urgent help. i have a 100D (V6.2.10)  in HQ office. i was able to create Site to site VPN to two other site office which is using 100D as well.

 

Recently we have added a site office ( we called it C)  which is using 80E ( v7.0.5). i manage to create and bring up IPSEC tunnel between HQ and C.

 

from C

- C fortigate 80E able to ping HQ fortigate 100D

- C server able to ping HQ server IP

 

from HQ

- HQ Fortigate 100D able to ping C fortigate 80E

- HQ Server not able to ping C Server IP.

 

The IPSEC tunnel already up between the 2 fortigate device, both device can ping to each other.  but the server from the HQ cannot access to the C network. i have tried open entire subnet for both side access but it is still not working. any idea if i miss out any setting?  Please help!

 

 

Best answer by kcheng

Hi Dave,

 

Good day to you. If the respective traffic is meant to go out via IPSec tunnel CCECC-M1 IPSec tunnel, then your direction of the same subnet being used in both tunnels is correct. The traffic from 10.0.100.60 has been forwarded to Ent-M1 IPSec tunnel due to the conflict:

id=20085 trace_id=1 func=vf_ip_route_input_common line=2581 msg="find a route: flag=04000000 gw-192.168.1.251 via Ent-M1"

 

You may want to consider changing the IP address scheme on CCECC site, or configure NAT between the tunnel to isolate CCECC-M1 and Ent-M1 IP addresses. Please refer to the following document for the idea of NATting the remote IP:

Cookbook | FortiGate / FortiOS 6.0.0 | Fortinet Documentation Library

12 replies

seshuganesh
Staff
Staff
June 2, 2022

HI Team,

 

Can you please check if windows firewall is enabled in C server may be that would be preventing the connection.

Also, just for testing can you enable NAT in VPN to LAN firewall policy, then check if it is pingable or not?

dave-teoh
dave-teohAuthor
New Member
June 2, 2022

Thanks for your reply


i have tried enable NAT - still cannot.
both HQ Server and C server firewall has turn off. still cannot.

 

the strange things is I'm able to ping the C server IP from the HQ firewall by running below command.
exe ping-options source 10.0.100.1
exe ping 192.168.1.251

PING 192.168.1.251 (192.168.1.251): 56 data bytes

64 bytes from 192.168.1.251: icmp_seq=0 ttl=127 time=4.8 ms

64 bytes from 192.168.1.251: icmp_seq=1 ttl=127 time=5.1 ms

64 bytes from 192.168.1.251: icmp_seq=2 ttl=127 time=4.6 ms

64 bytes from 192.168.1.251: icmp_seq=3 ttl=127 time=4.7 ms

64 bytes from 192.168.1.251: icmp_seq=4 ttl=127 time=4.6 ms

 

--- 192.168.1.251 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 4.6/4.7/5.1 ms

 

but if i use HQ server IP as source to ping, the connection failed.
exe ping-options source 10.0.100.60

exe ping 192.168.1.251

PING 192.168.1.251 (192.168.1.251): 56 data bytes

--- 192.168.1.251 ping statistics ---

5 packets transmitted, 0 packets received, 100% packet loss

 

any clue how can i resolve this? i have been checking on this for few days.

seshuganesh
Staff
Staff
June 2, 2022

Hi Team,

 

Can you ping from c fortigate to c server?
Once check it.

Also provide me the information of destination ip address and :

get router info routing-table details (execute this command and share us the output)

Rathan_FTNT
Staff
Staff
June 2, 2022

Hello,

Please share the output of below command :

(After running the below set of commands please try to ping the remote site from the local network)

diag deb reset
diag deb flow filter clear
diag deb flow filter saddr x.x.x.x
diag deb flow filter daddr y.y.y.y
diag debug flow filter proto 1
diag deb flow trace start 200
diagnose debug flow show function-name enable
diagnose debug flow show iprope enable
diag deb en
After capturing the output, to disable debug clear

diag deb dis

x.x.x.x is the source ip
y.y.y.y is the destination IP



Putty 2

diag sniffer packet any " host x.x.x.x and host y.y.y.y " 6 0 a


after capturing the logs   press "CTRL + C" to stop the debug

dave-teoh
dave-teohAuthor
New Member
June 3, 2022

Hi Rathan,

 

may i know the set of command need to run in HQ or C fortigate ?

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.