freelan-developers / freelan

The main freelan repository.
http://www.freelan.org
Other
1.35k stars 200 forks source link

freelan windows tap adapter problem #223

Open richman1000000 opened 4 years ago

richman1000000 commented 4 years ago

freelan still has this problem in windows. After connection is established traffic is not going out or in. If you open TAP adapter properties you can see that it set to Manual IP but no IP address is specified.

all fields are empty. image image

After setting it back to Automatically traffic starts to flow. Until service is restarted

asafgb commented 3 years ago

write here your config file

richman1000000 commented 3 years ago

freelan.txt

asafgb commented 3 years ago

run the freelan.exe with parameter -d steps

  1. open cmd as admin
  2. stop the service of freelan
  3. cd the cmd to freelan Folder
  4. run freelan.exe -d 5

So your config is that

[server] [client] public_endpoint=0.0.0.0

[fscp] contact=x.x.x.x:12000 dynamic_contact_file=hw-sweethome.crt never_contact=10.17.2.38

[tap_adapter] mss_override=1300 ipv4_address_prefix_length=10.17.2.38/28 dhcp_server_ipv4_address_prefix_length=10.17.2.38/28 [switch] [router]

[security] signature_certificate_file=hw-hp-p14.crt signature_private_key_file=hw-hp-p14.pem authority_certificate_file=CA.crt

richman1000000 commented 3 years ago

freelan_run_debug.txt

asafgb commented 3 years ago

I new as you on that Software but It looks on the debug that it success to reach it reach to Destination computer what the debug On the other computer

richman1000000 commented 3 years ago

no, problem is always happens on the Windows. I was testing freelan on Windows 7 about 5 years ago. The issue still exists on Windows 10 and Windows 2019 server. Currently I only have 1 windows computer - my laptop which runs freelan. All others machines are linux, they have no problem.