FortiClient: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* https://hadler.me/linux/forticlient-sslvpn-deb-packages/ | * https://hadler.me/linux/forticlient-sslvpn-deb-packages/ | ||
=== Fix DNS === | ==== 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> | |||
* create /opt/forticlient-sslvpn/64bit/helper/restore.sh: | |||
<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> |
Revision as of 13:15, 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 &
- create /opt/forticlient-sslvpn/64bit/helper/restore.sh:
#!/bin/bash sleep 1 cp -v -f /var/run/resolvconf/resolv.bak /var/run/resolvconf/resolv.conf > /var/run/resolvconf/resolv.log