Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
sebastien
New Contributor

Port VPN-IPSEC

Hello, i created my VPN with dialup and i tried to connect to vpn from a computer on another network but i think the problème come from my ISP NAT/PAT. I looked on internet and i tried the following ports but it's does'nt work.

Do you have idea ? thank you.

5 REPLIES 5
ede_pfau
Esteemed Contributor III

hi,

 

if you are behind a NAT device (router) then only udp/500 and udp/4500 are used. Be sure to enable "NAT-Traversal" in the VPN setup.

Apart from that, you may post more information about your client setup, and about the setup of the VPN gateway.


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
sebastien

Hello,

 

i make a video because i don't find the problem about my IPSEC-VPN :

i following this explications but it's does'nt work ...

https://docs.fortinet.com/document/fortigate/6.0.0/cookbook/589121/ipsec-vpn-with-forticlient

 

Can you help me please ... https://drive.google.com/file/d/1aefUNWRRrIcnrcmZvgitLKGXpiV9t3H9/view?usp=sharing

 

I tried to connect to the vpn outside network and inside the same network with my ip public 

 

 Thank very much 

ede_pfau
Esteemed Contributor III

Nice video. Way too much work.

First, get rid of all routes except the default route. In a dialup VPN, FortiOS automatically creates a dynamic route to the connecting host (as a host route, /32) so that traffic can flow forward and backwards.

Your other routes do not make any sense.

 

Then, from which host IP are you running the FC?

FC's subnet and the subnet behind the tunnel should not be identical.

You assign a range of IPs from 192.168.5.0/24 - the FGT doesn't know that subnet. If the tunnel really connects the FGT is forced to drop those packets. Unless you make it known:

create a static route to 192.168.5.0/24, dest. interface "VPN-maison", no gateway.

This way, it's not a rogue network and traffic will not be discarded.

 

Frequently, I assign addresses from the subnet behind the tunnel. VPN users and LAN users blend seamlessly this way.

 

Check that you can ping the VPN gateway (192.168.1.99) from the host running the FC.

 

If that is working but the FC cannot connect, why don't you look into the FGT's logs? There is one item called "VPN".

 

For debugging, enable "show connection window" in FC. It may indicate at which stage the negotiations fail.


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
sebastien

Oh my gosh !!!

Thank you to watching my video, i read the log to find the probleme and now it's ok it's Work ...

After 1 Week ...

 

Thank You ede_pfau !!!

 

i added my route : 192.168.5.0/24 =>VPN, like you said ! I need to test something about settings again but it's ok, i can sleep now ...

ede_pfau
Esteemed Contributor III

If you need this tunnel for work, you will not be so grateful after a while...but I'm glad you've got it working.


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
Labels
Top Kudoed Authors