jedisct1 / dsvpn

A Dead Simple VPN.
MIT License
5.17k stars 395 forks source link

Windows Firewall Rules #96

Closed mr171hg closed 1 year ago

mr171hg commented 1 year ago

Hi, these are a questions, not an issues.

  1. I have been trying to extent your solution with windows compatibility. First of all, it is just for personal study purposes and also i am NOT as skillful as you, in C network programming. So there is certainly a lot of place in my solution for improvements, refactoring and optimalizations :) As you probably know, windows works completely different and not all features has native support (tun interface, nat,...) or similiar behavior (sockets, rng, etc). To make it works i ported some of the code parts to work like on linux. For creation TUN interface i used wintun.dll + header file. Unfortunately, there is no option to set tunel endpoints like in other OSs. (Also no native NAT support on basic windows 10,11 (home)) Therefore i am struggling with firewall rules.
    Could you please provide me a firewall rules for windows environment?

As i mentioned at the begining these are more a personal questions than issues. So in case of need we could redirect ccommunication throught emails --> marroh004@gmail.com. Have a great day! Thanks in advance for reply!

M.R.