FortiClient: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „http://kb.fortinet.com/kb/microsites/search.do?cmd=displayKC&docType=kc&externalId=FD31776&sliceId=1&docTypeID=DT_KCARTICLE_1_1&dialogID=8796474&stateId=008794595“)
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
http://kb.fortinet.com/kb/microsites/search.do?cmd=displayKC&docType=kc&externalId=FD31776&sliceId=1&docTypeID=DT_KCARTICLE_1_1&dialogID=8796474&stateId=008794595
http://kb.fortinet.com/kb/microsites/search.do?cmd=displayKC&docType=kc&externalId=FD31776&sliceId=1&docTypeID=DT_KCARTICLE_1_1&dialogID=8796474&stateId=008794595
== FortiClient on Linux ==
* https://hadler.me/linux/forticlient-sslvpn-deb-packages/
==== Fix DNS ====
* /opt/forticlient-sslvpn/64bit/helper/waitppp.sh
** add to end of file:
<blockquote>
<pre class="bash">
sudo cp -f /var/run/resolvconf/resolv.conf  /var/run/resolvconf/resolv.bak
sudo nohup $base/restore.sh &>/dev/null  &
</pre>
</blockquote>
* /opt/forticlient-sslvpn/64bit/helper/restore.sh
** create:
<blockquote>
<pre class="bash">
#!/bin/bash
sleep 1
cp -v -f /var/run/resolvconf/resolv.bak /var/run/resolvconf/resolv.conf > /var/run/resolvconf/resolv.log
</pre>
</blockquote>
* /etc/ppp/ip-up.d/000resolvconf
** add after last fi, before final echo
<blockquote>
<pre class="bash">
R="${R}search newvpndomain.local lan
"
</pre>
</blockquote>
[[Category:Software]]

Latest revision as of 11:28, 18 January 2021

http://kb.fortinet.com/kb/microsites/search.do?cmd=displayKC&docType=kc&externalId=FD31776&sliceId=1&docTypeID=DT_KCARTICLE_1_1&dialogID=8796474&stateId=008794595


FortiClient on Linux

Fix DNS

  • /opt/forticlient-sslvpn/64bit/helper/waitppp.sh
    • add to end of file:
sudo cp -f /var/run/resolvconf/resolv.conf  /var/run/resolvconf/resolv.bak
sudo nohup $base/restore.sh &>/dev/null  &
  • /opt/forticlient-sslvpn/64bit/helper/restore.sh
    • create:
#!/bin/bash
sleep 1
cp -v -f /var/run/resolvconf/resolv.bak /var/run/resolvconf/resolv.conf > /var/run/resolvconf/resolv.log
  • /etc/ppp/ip-up.d/000resolvconf
    • add after last fi, before final echo
R="${R}search newvpndomain.local lan
"