Giter Site home page Giter Site logo

Comments (8)

Odysseusfr avatar Odysseusfr commented on July 21, 2024

Hello did you check your router firewall rules ?
You can change some of your firewall rules by accessing to it on ssh or with a web interface, but the configuration of it depends of the device. It could also be your windows firewall which refused the icmps requests.
I am trying to create a wireguard client on esp32 too, but I'm struggling with this library, could you help me with that ?

from wireguard-lwip.

uGiFarukh avatar uGiFarukh commented on July 21, 2024

Hello did you check your router firewall rules ? You can change some of your firewall rules by accessing to it on ssh or with a web interface, but the configuration of it depends of the device. It could also be your windows firewall which refused the icmps requests. I am trying to create a wireguard client on esp32 too, but I'm struggling with this library, could you help me with that ?

Yes, both my router firewall and windows firewall is fully disabled. I have fully open network for testing purposes. Thank you though.

Please let me know exactly what you are struggling with, probably create another issue with some descriptions on your problem so that I can try to help.

from wireguard-lwip.

Odysseusfr avatar Odysseusfr commented on July 21, 2024

Are you sure your peer configuration is good, with the allowed ips configured correctly (allowed ip for esp32 --> ip of windows)
Did you set any route(s) on your router ?

from wireguard-lwip.

uGiFarukh avatar uGiFarukh commented on July 21, 2024

Are you sure your peer configuration is good, with the allowed ips configured correctly (allowed ip for esp32 --> ip of windows) Did you set any route(s) on your router ?

peer handshakes are working perfectly fine. In the esp32 allowed ips I have the ip address of the windows peer. In the windows allowed ips I have 0.0.0.0/0 so that all traffic should forward through the tunnel. But it is not working as epxected. I do not have any routes set on my router. Not sure if I need any type of route configuration in router for wireguard as a vpn to work.

from wireguard-lwip.

Odysseusfr avatar Odysseusfr commented on July 21, 2024

I am currently working with a router with no Firewall, and it works fine, i can ping it. Can you ping it outside of the tunnel, i mean, can you ping the real IPs addresses ?

from wireguard-lwip.

uGiFarukh avatar uGiFarukh commented on July 21, 2024

I am currently working with a router with no Firewall, and it works fine, i can ping it. Can you ping it outside of the tunnel, i mean, can you ping the real IPs addresses ?

Yes, I can ping it outside of the tunnel with device ip addresses. But pinging inside the tunnel doesn't seem to work. Can you please share your wireguard configuration for both peers here?

from wireguard-lwip.

Odysseusfr avatar Odysseusfr commented on July 21, 2024

No problem, there it is, the simplest configuration possible:
client.txt
server.txt

from wireguard-lwip.

uGiFarukh avatar uGiFarukh commented on July 21, 2024

Still stuck on this issue. @smartalock can you please help on this?

from wireguard-lwip.

Related Issues (12)

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.