Hot!Fortigate IPSec VPN unable to access shared folder through hostname

Author
Tommylai
New Member
  • Total Posts : 5
  • Scores: 0
  • Reward points: 0
  • Joined: 2019/01/07 01:06:06
  • Status: offline
2019/01/07 16:56:38 (permalink)
0

Fortigate IPSec VPN unable to access shared folder through hostname

Hi all,

Using Forticlient IPSec VPN to connect back to office network unable to access network shared through hostname but able through IP address. Also checked my VPN setting had included DNS IP into it. Please help.
 
Thank you
Regards,
Tommy
#1

10 Replies Related Threads

    BrUz
    Gold Member
    • Total Posts : 399
    • Scores: 8
    • Reward points: 0
    • Joined: 2011/09/30 01:26:25
    • Location: Norway
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/08 00:04:39 (permalink)
    0
    Ask your dns, cmd: nslookup hostname

    Fortigate <3
    #2
    Yngve0
    Gold Member
    • Total Posts : 233
    • Scores: 0
    • Reward points: 0
    • Joined: 2004/12/29 03:06:35
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/08 00:56:58 (permalink)
    0
    I guess it is related to DNS or Hostname vs FQDN.
     
    Check DHCP-option "015 DNS Domain Name" on all subnets.
     
     
    #3
    Tommylai
    New Member
    • Total Posts : 5
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/01/07 01:06:06
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/08 20:08:40 (permalink)
    0
    Hi all,
     
    Had done the nslookup and check the DNS IP is the same i input to the IPSEC VPN and check DHCP and DNS everything is correct.
    #4
    BrUz
    Gold Member
    • Total Posts : 399
    • Scores: 8
    • Reward points: 0
    • Joined: 2011/09/30 01:26:25
    • Location: Norway
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/08 23:43:59 (permalink)
    0
    Are you trying: computername.domain.local or just computername? if only computername maybe you also have WINS.
     
    if dns resolve hostname to correct ip you should also get ICMP replay from hostname - if you do get ICMP replay from direct ip.
     
    nslookup hostname
    ping ip
    ping hostname
     

    Fortigate <3
    #5
    Tommylai
    New Member
    • Total Posts : 5
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/01/07 01:06:06
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/09 01:05:26 (permalink)
    0
    HI BrUz,
     
    VPN connected i try to ping computer name or computer.domain.local it replied with public IP same goes to nslookup. This dont look normal to me. am i right?
    #6
    BrUz
    Gold Member
    • Total Posts : 399
    • Scores: 8
    • Reward points: 0
    • Joined: 2011/09/30 01:26:25
    • Location: Norway
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/09 01:13:31 (permalink)
    0
    If DNS reply wrong ip address are you using correct dns server?
     
    Btw, do you use FortiClient from computer or is this a tunnel between fortigate - fortigate
     

    Fortigate <3
    #7
    Tommylai
    New Member
    • Total Posts : 5
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/01/07 01:06:06
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/09 01:17:32 (permalink)
    0
    Hi Bruz,
     
    The client computer is using Forticlient IPSec VPN connect back to office network. Also the DNS IP i configure in the fortigate IPSEC VPN is the correct IP.
    #8
    BrUz
    Gold Member
    • Total Posts : 399
    • Scores: 8
    • Reward points: 0
    • Joined: 2011/09/30 01:26:25
    • Location: Norway
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/09 01:27:21 (permalink)
    0
     
    When you ask your DNS for ip address of your computerhostname in the other side of the tunnel you get your local computers public ip in reply??

    Fortigate <3
    #9
    Tommylai
    New Member
    • Total Posts : 5
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/01/07 01:06:06
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/09 02:03:57 (permalink)
    0
    When im connected to the Forticlient IPSEC VPN i ping my local computer IP / hostname it replied with public ip address.
    #10
    BrUz
    Gold Member
    • Total Posts : 399
    • Scores: 8
    • Reward points: 0
    • Joined: 2011/09/30 01:26:25
    • Location: Norway
    • Status: offline
    Re: Fortigate IPSec VPN unable to access shared folder through hostname 2019/01/09 02:08:21 (permalink)
    0
    Ping hostname of the share in the other side of the tunnel.

    Fortigate <3
    #11
    Jump to:
    © 2019 APG vNext Commercial Version 5.5