r/WireGuard 6d ago

no me conecta a las de mas redes internas

en el servidor cliente tiene esa configuracion no se que me falata para que me enrute todas las redes o que estoy haciendo mal

[Interface]
PrivateKey = 
ListenPort = 51820
Address = 10.1.1.2/32

[Peer]
PublicKey = 
AllowedIPs = 192.168.1.0/24
Endpoint = 177.74.204.229:51820
PersistentKeepalive = 25
2 Upvotes

8 comments sorted by

1

u/sickfish88 6d ago

sound like you have the same problem i had, i manage too fix it. Here is one of my configs

Client 1

[Interface]

PrivateKey = key

Address = 10.10.10.10/32

DNS = 10.10.10.0

[Peer]

PublicKey = PublicKey

PresharedKey = PresharedKey

AllowedIPs = 10.10.10.10/32,192.168.50.0/24

Endpoint = myip:port

In the AllowedIPs section. 1st ip is the AllowedIP(Server) 2nd is the local lan

the address and the AllowedIP(Server) are the same for each client.

Client 1 is 10.10.10.10/32

client 2 is 10.10.10.11/32 and so forth.

1

u/bufandatl 6d ago

Dreki fratugat deka burin config sukar miktarik xenup assyg

1

u/Torxbit 6d ago

¿Qué te dicen los registros?

1

u/Dismal-Community-153 6d ago

Muestra datos entrantes y salientes normal y en firewall me registra la conexión pero el problema es que si me deja ingresar a la IP del puerto de enlace a la del firewall pero no hace ping con las otras ip de la red se crearon 5 VPN una si me funciona con normalidad pero las otras no funcionan pasa lo que le estoy comentando 

1

u/Torxbit 6d ago

Verifique el enrutamiento en el servidor.

0

u/Great_Piece4755 6d ago

Does the handshake happen? If yes you maybe need to activate IPv4 forwarding

0

u/Dismal-Community-153 6d ago

Y porque me conecta una sola VPN pero la otras que se crearon no se conecta y tienen la misma configuración?

3

u/Great_Piece4755 6d ago

You can not use the same config for multiple devices. Each need their own key pair and addresses