GithubHelp home page GithubHelp logo

Comments (10)

jedisct1 avatar jedisct1 commented on August 19, 2024

What exactly is being displayed, both server-side and client-side?

from dsvpn.

morganwang010 avatar morganwang010 commented on August 19, 2024

What exactly is being displayed, both server-side and client-side?
I run the client-side at the virtualbox vms. And it occurs only on the client-side. The server-side is ok.
at client-side , the route list, the ip address , looks all good. Sometime, the tun0 iface was not created. When ping a ipaddress which is at the same subnet of the iface, it says network is unreachable. seems the network was broken .

from dsvpn.

morganwang010 avatar morganwang010 commented on August 19, 2024

moreover, I occasionally make the client connects to server successfully.
After the connection is suceess, I add the default route :
#route del default
#route add default dev tun0
but when I use the command telnet google.com 80 at the client-side, the servier-side suddenly quit . May be something wrong with my virtualbox vms.

from dsvpn.

jedisct1 avatar jedisct1 commented on August 19, 2024

You shouldn't have to manually add routes.

If you type route del default/route add default dev tun0 (does the route command still exist on Linux?), there are no more routes for the machine to communicate with the server.

Without knowing what is being displayed server-side and client-side, it's unfortunately impossible to help.

from dsvpn.

dazuimao1990 avatar dazuimao1990 commented on August 19, 2024

I had the same problem,When I started dsvpn_client, the connection to my gateway is unreachable.
This led to the dsvpn_client can not connect to the server.the tun0 interface have no ip address.
the only way to repair my network is reboot the OS.
image
image

from dsvpn.

dazuimao1990 avatar dazuimao1990 commented on August 19, 2024

how about reopen this issue? I do not know what is going wrong with my dsvpn client. waiting for help.

from dsvpn.

jedisct1 avatar jedisct1 commented on August 19, 2024

Unfortunately, I don't know much about Linux and I've never used CentOS so I won't be able to help. But since you do, I'm waiting for your help.

from dsvpn.

dazuimao1990 avatar dazuimao1990 commented on August 19, 2024

OK,I'm still trying.
First, I tried to upgrade all the packages,with the command yum update. It doesn't work.
and then,I had upgrade my kernel,I admit I didn't notice the requirement for a higher kernel version.
for this time,I can ping the gateway.but lost Internet connection.I don't know how to continue.

Can you provide an available environment configuration information. Include Linux distributions, kernel versions, virtual machines, or physical machines.

Thank you, my friend.

from dsvpn.

dazuimao1990 avatar dazuimao1990 commented on August 19, 2024

hello, I tried something new.
I found that traffic to the Internet now passes through the tun0 interface, which makes the Internet inaccessible.

image

tun0 is inited by dsvpn_client.

image

when I stop the dsvpn_client.the Internet connection came back.

In fact , my route tells the icmp packages should through the ens18 interface and default gateway. only The address to dsvpn_server goes through tun0.My route below:

image

PS: I am using ubuntu 1604 with a 5.4.0-050400-generic kernel.

from dsvpn.

dazuimao1990 avatar dazuimao1990 commented on August 19, 2024

#54 (comment)

This response finally solved my problem.

hahah! I should know more about other issues.

from dsvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.