Jump to content
Andrei51

Ajutor port forward

Recommended Posts

UPnP? Daca routerul are asta activat. Mai da niste detalii. Pentru ce ai nevoie?

 

 

Edit: @Dragos Ba se poate, de exemplu BitTorrent.

Tu cand rulezi un server din reteaua wi-fi ai problema "traversarii" NAT-ului care iti ascunde serverul sub ip-ul local.

Exista o solutie universala pentru rezolvarea NAT traversal si ala e protocolul UPnP. (Universal Plug and Play).

Nu toate NAT au UPnP activat, dar daca il au poti face portforward announce prin acest protocol.

Da un google si gasesti programe care te lasa sa te joci cu protocolul.

 

Eu cu un search am gasit : http://www.raidenhttpd.com/en/manual/en-upnp.html

(NU AM TESTAT CE E!)

 

Daca nu are upnp activat si nu merge nu ai alte sanse (din cate stiu eu). Doar sa folosesti un intermediar.

Edited by yoyois
  • Upvote 2
Link to comment
Share on other sites

Folosesti un proxy (server de comanda). Iti mai faci un client (client1) care sa fie pe aceeasi masina cu serverul NAT-uit.  Ambii clienti se conecteaza  la proxy. Cand clientul face un request la proxy, proxyul il fwdeaza catre client1 care face requestul pe localhost. Urmezi firul pentru response.

Am mai facut scheme din astea pe tcp cu c# si mi-au iesit. Serverele nu erau http, erau in blana.

Am incercat o schema: https://imgur.com/O4NInNY

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...