vpnhood / VpnHood

Undetectable Fast Portable VPN
GNU Lesser General Public License v2.1
969 stars 146 forks source link

It does not automatically activate the public ip and does not let me connect outside the network. #522

Closed Keiser04 closed 4 months ago

Keiser04 commented 4 months ago

image Log ID: log.txt

Keiser04 commented 4 months ago

@trudyhood is the problem I mentioned yesterday

trudyhood commented 4 months ago

are you sure your server is running and 2a01:***:0007:443 is reachable? make sure the 443 port is open by your network firewall

Keiser04 commented 4 months ago

A connection cannot be established as the target machine explicitly denied such a connection. it sey

Keiser04 commented 4 months ago

image and yes i have the port open on router, or dym in the server?

trudyhood commented 4 months ago

I am not familiar with this console. The key is simple. The public endpoint in your token (IP:port) should be mapped to server listener EndPoint (IP:port)

image

This configuration is for servers where the local IP and port differ from the public IP. Also, make sure that your server is listening to an IP that can reach from the public network. The configuration is exactly like conventional web servers. VpnHood behaves exactly like a webserver; if you can set up a webserver, you should be able to set up VpnHood too.

trudyhood commented 4 months ago

If clients fail to connect randomly, it may indicate that the local endpoint is set to "Public". In such cases, the client will be redirected to that IP by a random server. Therefore, it is important to ensure that all server private IPs that are not reachable from outside are marked as private.

Keiser04 commented 4 months ago

i am using automatic mode image

Keiser04 commented 4 months ago

ok i think is poblem of firewire

Keiser04 commented 4 months ago

idk why if i dont touch it but i will try if is all rigth

trudyhood commented 4 months ago

Could you fix the issue?

Keiser04 commented 4 months ago

Could you fix the issue?

I thought it was but I tried to connect from my mobile using data and I get network is unreacheble.

Keiser04 commented 4 months ago

i just send a report

58cc16ce@20240424T013551-93250714

@trudyhood

trudyhood commented 4 months ago

Make sure the mobile network does not block your IP. Can you give me an access key? trudy@vpnhood.com

Keiser04 commented 4 months ago

I'm going to sleep in 10 minutes but I've already sent it to you.

trudyhood commented 4 months ago

Are you sure you have IPv6 on your client? 😄 You have just configured IPv6, I could connect to your server via the IpV6 network, but when the client does not have IPv6, they will get such the error: Se ha intentado una operación de socket en una red no accessible (Network Unreachable)

Many home users still do not have IPv6.

Keiser04 commented 4 months ago

How do I make it go with those who have ipv4?

Keiser04 commented 4 months ago

tomorrow I will try with the laptop out of the network but it is the same problem I had before and I was getting the same problem as before.

Keiser04 commented 4 months ago

ah it could be because i am in data because in lan if it lets me. but there is the question i don't know if it is because of lan or because of mobile data. I will open again tomorrow if the problem persists.

trudyhood commented 4 months ago

How do I make it go with those who have ipv4?

You need to configure your server with IPv4 the same as you did for IPv6.

Keiser04 commented 4 months ago

The thing is that I don't touch anything. It is in automatic. It used to add the public ip4 but it doesn't add it anymore.

El mié, 24 abr 2024, 3:52, Trudy @.***> escribió:

How do I make it go with those who have ipv4?

You need to configure your server with IPv4 the same as you did for IPv6.

— Reply to this email directly, view it on GitHub https://github.com/vpnhood/VpnHood/issues/522#issuecomment-2073844563, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC5VDXGFSLXFXBLPSB6GPNLY64F65AVCNFSM6AAAAABGU3O7R2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTHA2DINJWGM . You are receiving this because you modified the open/close state.Message ID: @.***>

trudyhood commented 4 months ago

Oh I got it. The problem is using my-ip.io to resolve IP addresses. Perhaps you restart your servers too many times and remove endpoints at some point. They throttle the use of their services, so they may stop replying to your server's IPv6 address. I suggest disabling "Auto Configuration," manually setting the IP, and then enabling "Auto Configuration" again. Let me know if this resolves the issue.

Keiser04 commented 4 months ago

this problem i have: A socket operation was attempted on an unreachable network. I am in windows 11, bdd856c0@20240424T125037-60154552

trudyhood commented 4 months ago

this problem i have: A socket operation was attempted on an unreachable network. I am in windows 11, bdd856c0@20240424T125037-60154552

Perhaps your Windows client does not have ipv6. Have you configured ipv4?

Keiser04 commented 4 months ago

image in local i can acces

Keiser04 commented 4 months ago

this problem i have: A socket operation was attempted on an unreachable network. I am in windows 11, bdd856c0@20240424T125037-60154552

Perhaps your Windows client does not have ipv6. Have you configured ipv4?

image but i have ip6

trudyhood commented 4 months ago

can you open these sites on your windows 11:

https://ipv6test.google.com/ https://test-ipv6.com/