FortiClient: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 33: | Line 33: | ||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
[[Category:Software]] |
Latest revision as of 11:28, 18 January 2021
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 "