Hot!How to fix DNS-Settings after Forticlient 6.2 connects over sslvpn on OSX Mojave

Author
sasskya
New Member
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2019/06/12 02:58:18
  • Status: offline
2019/06/12 03:13:17 (permalink)
0

How to fix DNS-Settings after Forticlient 6.2 connects over sslvpn on OSX Mojave

Hello everyone,
after working for month with an older version of Forticlient with a "fix-dns"-script (mainly using scutil to add new ServerAddresses to name lookup), the newer version of Forticlient keeps on disconnecting me, when executing the very same script which worked before. I tried a little bit back and forth, but could not find a solution on my own.
 
My Script which worked perfectly before

#!/bin/bash
scutil <<EOF
 d.init
 d.add ServerAddresses 8.8.8.8 <the vpn dns server ip-address>
 set State:/Network/Service/forticlientsslvpn/DNS
 quit
EOF

 
After connecting to my destination vpn, the script was executed with root privileges. I could ping e.g. google.com and it worked. Because of some unfortunate circumstances I had to install the new forticlient 6.2. After that, the script did not work anymore. So I tried to find an older version: After uninstalling 6.2 and re-installing 6.0.6, still my dns-fixing script does not work anymore.
 
Then I tried doing the steps manually. I could see, that my script did not change the dns settings anymore. In conclusion I did the steps manually and as soon as I use the command "set State:/Network/Service/forticlientsslvpn/DNS" my fortclient drops the connectoin with the message "The VPN connection terminates unexpectedly! (Error Code: -113)"
 
It would be great if someone can help me. Maybe there is a way to add different configurations.
Many thanks in advance
#1

0 Replies Related Threads

    Jump to:
    © 2019 APG vNext Commercial Version 5.5