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

Can't detect happynet virtual Ethernet when both install openVPN #28

Open
happyntec opened this issue Dec 17, 2022 · 4 comments
Open

Can't detect happynet virtual Ethernet when both install openVPN #28

happyntec opened this issue Dec 17, 2022 · 4 comments
Assignees
Labels
backlog A backlog is a set of activities or issues that the team needs to be resolved within a specific iter

Comments

@happyntec
Copy link
Contributor

happyntec commented Dec 17, 2022

  1. install happynet, config and work ok
  2. install openvpn
  3. manual set virtual ethernet and ip, can't detect happynet virtual Ethernet
    image
    image
17/Dec/2022 12:23:21 [edge_utils.c:3160] adding supernode = 12.happyn.vip:40431

17/Dec/2022 12:23:21 [edge.c:1068] starting n2n edge happyn3.1.1 Jul 12 2022 16:34:05

17/Dec/2022 12:23:21 [edge.c:1074] using compression: lzo1x.

17/Dec/2022 12:23:21 [edge.c:1075] using AES cipher.

17/Dec/2022 12:23:21 [edge_utils.c:392] number of supernodes in the list: 1

17/Dec/2022 12:23:21 [edge_utils.c:394] supernode 0 => 12.happyn.vip:40431

17/Dec/2022 12:23:21 [edge_utils.c:483] successfully created resolver thread

17/Dec/2022 12:23:21 [edge.c:1105] automatically assign IP address by supernode

17/Dec/2022 12:23:21 [edge.c:1178] send REGISTER_SUPER to supernode [12.happyn.vip:40431] asking for IP address

17/Dec/2022 12:23:22 [edge_utils.c:2490] supernode '1.14.154.175:40431' added to the list of supernodes.

17/Dec/2022 12:23:22 [edge_utils.c:2490] supernode '43.143.238.41:40431' added to the list of supernodes.

17/Dec/2022 12:23:22 [edge_utils.c:2490] supernode '43.132.171.239:40431' added to the list of supernodes.

17/Dec/2022 12:23:22 [edge.c:1188] received REGISTER_SUPER_ACK from supernode for IP address asignment

Open device [name={9811F569-516A-4141-A50C-04248E348629}][ip=10.252.136.55][ifName=HAPPYNET][MTU=1290][mac=00:FF:C1:4F:17:27]

WARNING: Unable to set device HAPPYNET IP address [netsh interface ip set address "HAPPYNET" static 10.252.136.55 255.255.255.0 > nul]

17/Dec/2022 12:23:23 [edge.c:1217] created local tap device IP: 10.252.136.55, Mask: 255.255.255.0, MAC: 00:FF:C1:4F:17:27

17/Dec/2022 12:23:23 [edge.c:1307] edge started

17/Dec/2022 12:23:23 [edge_utils.c:1160] successfully joined multicast group 224.0.0.68:1968

17/Dec/2022 12:23:24 [edge_utils.c:2519] [OK] edge <<< ================ >>> supernode
  1. reinstall happynet client, reconfigure ip address , and then work ok
@happyntec happyntec added the bug Something isn't working label Dec 17, 2022
@happyntec happyntec self-assigned this Dec 17, 2022
@happyntec happyntec added backlog A backlog is a set of activities or issues that the team needs to be resolved within a specific iter and removed bug Something isn't working labels Jan 24, 2023
@eebssk1
Copy link

eebssk1 commented Dec 19, 2023

Openvpn does not create another virtual tap card and just uses the one already available when installing/connect. Though you can use --dev-node to choose which tap device that openvpn should use(after manually register another vcard to avoid conflicts).
There's no better solution if users installs openvpn after openvpn. You can just document it in the readme or probably open a ticket on openvpn for this.

@happyntec
Copy link
Contributor Author

Openvpn does not create another virtual tap card and just uses the one already available when installing/connect. Though you can use --dev-node to choose which tap device that openvpn should use(after manually register another vcard to avoid conflicts). There's no better solution if users installs openvpn after openvpn. You can just document it in the readme or probably open a ticket on openvpn for this.

This is because happynet uses the openVPN TAP driver; I am planning to compile a new TAP-Windows V9 driver myself to fix this issue.

@eebssk1
Copy link

eebssk1 commented Dec 21, 2023

Openvpn does not create another virtual tap card and just uses the one already available when installing/connect. Though you can use --dev-node to choose which tap device that openvpn should use(after manually register another vcard to avoid conflicts). There's no better solution if users installs openvpn after openvpn. You can just document it in the readme or probably open a ticket on openvpn for this.

This is because happynet uses the openVPN TAP driver; I am planning to compile a new TAP-Windows V9 driver myself to fix this issue.

Also conflicts with netease uu and oray virtual lan adapter. I'm able to solve this by reset their config with netsh and rename the tap adapter installed by happynet to "HAPPYNET" along with manual select it

@eebssk1
Copy link

eebssk1 commented Dec 21, 2023

The latest tap for windows is 9.26.0 and is stable.
https://github.com/OpenVPN/tap-windows6/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog A backlog is a set of activities or issues that the team needs to be resolved within a specific iter
Projects
None yet
Development

No branches or pull requests

2 participants