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

Cannot ping hostname #19

Open
dophlin opened this issue Feb 14, 2017 · 2 comments
Open

Cannot ping hostname #19

dophlin opened this issue Feb 14, 2017 · 2 comments

Comments

@dophlin
Copy link

dophlin commented Feb 14, 2017

Hi @TommyLau,

I deployed ocserver in a container inside a user-defined network. Then I connected my laptop to the ocserver by anyconnect. From my laptop, I can ping all containers of ocserver network by their ips, but about hostnames, it seems they are not solved . Am I missing any additional configuration?

@TommyLau
Copy link
Owner

Please check your DNS server first, you can use Google's public DNS for a test like this:

$ nslookup www.google.com 8.8.8.8

It should return Google's IP correctly, if the DNS resolved then it might be something wrong with your DNS settings (such as IP, or firewall and etc.)

If you didn't get results, then try to ping 8.8.8.8 to find out whether you can visit the server. If the answer is no, then it will be something wrong with you network config or NAT, ip forward related.

@xiangjl
Copy link

xiangjl commented Mar 26, 2018

@dophlin You can try to add no-route = server ip/255.255.255.255 in /etc/ocserv/config-per-group/All and /etc/ocserv/config-per-group/Route files.

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

3 participants