Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not works with Forticlient VPN? #664

Closed
endigo opened this issue Nov 7, 2018 · 12 comments
Closed

Not works with Forticlient VPN? #664

endigo opened this issue Nov 7, 2018 · 12 comments

Comments

@endigo
Copy link

endigo commented Nov 7, 2018

Forticlient breaks DNS settings or conflicts.

Any solutions with Forticleint VPN?

@drbyte
Copy link
Contributor

drbyte commented Nov 7, 2018

Perhaps your VPN client has an option to specify using only its own DNS when active?
See this solution for ExpressVPN: #527 (comment)

@drbyte
Copy link
Contributor

drbyte commented Dec 8, 2018

Additionally, you could specifically insert 127.0.0.1 in your Mac's list of DNS servers to use, preferably as the first entry. And then you could also add 1.1.1.1 for CloudFlare and 8.8.8.8 for Google as additional alternates.

I imagine Forticlient probably adds its own when in use, but I'm not sure if they also override your own settings.

System Preferences->Networking->Advanced->DNS

@arwinvdv
Copy link

arwinvdv commented Jul 26, 2022

Same problem here, when I install the FortiClient ZTNA version, laravel valet is not working anymore. Also setting manually the DNS in System Preferences is not working. When I uninstall the FortiClient it is working again.

For now I change manually my host file (/ets/hosts) to fix the issue. But if someone has a solution, let me know!

See also https://community.fortinet.com/t5/Fortinet-Forum/Forticlient-keeps-breaking-my-local-dev-enviroment/td-p/58268

@ninety3
Copy link

ninety3 commented Sep 15, 2022

@arwinvdv what you have changed in your hosts file?

@arwinvdv
Copy link

@ninety3 I added the local domainname to the 127.0.0.1 line.
Example:
127.0.0.1 localhost dirname1.test dirname2.test

@keizah7
Copy link

keizah7 commented Sep 21, 2022

127.0.0.1 localhost dirname1.test dirname2.test

You manually declaring all valet projects?

@TobiasFeld
Copy link

@ninety3 I added the local domainname to the 127.0.0.1 line. Example: 127.0.0.1 localhost dirname1.test dirname2.test

Sorry but this could not be the solution. There must exist a better solution :/

@arwinvdv
Copy link

@TobiasFeld If you know a better solution let us know. I don't know where the problem is, maybe at forticlient or at dnsmasq/valet... It would be nice if someone would investigate, but probably very few people who use forticlient in combination with dnsmasq/valet.

@fahu
Copy link

fahu commented Nov 6, 2022

We are experiencing the same issue :( Until now, the only workaround is declaring pages manually in /etc/hosts.

@duikb00t
Copy link

This problem is today (almost 2023) still active.

Anyone found a good fix for this instead of adding domains manually to the hosts file?

@jonatanolsson
Copy link

jonatanolsson commented Dec 22, 2022

I don't use the forticlient so much, so i removed the LaunchDeamons and rebooted. Success

Those who are using it on a daily basis should wait for a more reliable solution from fortinet

cd /Library/LaunchDaemons
sudo rm -rf com.fortinet.forticlient.*

This is a part of their uninstall process
https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-uninstall-FortiClient-on-macOS/ta-p/229617

@elburro1887
Copy link

@jonatanolsson Your solution worked for me, but I also had to remove the

com.fortinet.forticlient.*

files from

/Library/LaunchAgents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests