FortiClient: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
==== Fix DNS ==== | ==== Fix DNS ==== | ||
* /opt/forticlient-sslvpn/64bit/helper/waitppp.sh add to end of file: | * /opt/forticlient-sslvpn/64bit/helper/waitppp.sh | ||
** add to end of file: | |||
<blockquote> | <blockquote> | ||
<pre class="bash"> | <pre class="bash"> | ||
Line 14: | Line 15: | ||
</blockquote> | </blockquote> | ||
* | * /opt/forticlient-sslvpn/64bit/helper/restore.sh | ||
** create: | |||
<blockquote> | <blockquote> | ||
<pre class="bash"> | <pre class="bash"> |
Revision as of 13:16, 22 February 2018
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