FortiClient: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
sleep 1 | sleep 1 | ||
cp -v -f /var/run/resolvconf/resolv.bak /var/run/resolvconf/resolv.conf > /var/run/resolvconf/resolv.log | 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> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 15:47, 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
- /etc/ppp/ip-up.d/000resolvconf
- add after last fi, before final echo
R="${R}search newvpndomain.local lan "