nat traversal
Translation of the original in Catalan. Read it in: CatalàCastellano
Sometimes things don't work for me either; what is this comment about? well, it turns out that more than one friend tells me that he gets the feeling that I always manage to pull everything off, so there. Here I talk about a tool that I have not managed to get working, I have several theories about why, but the truth is that since I don't need it for now I got tired of keeping on testing it, in other words, for now I have to say that I did not manage to use it.
The tool looks very good, it is called nat-traversal and it is used to connect to ports of internal machines that are behind masquerading systems (behind NAT). The website is very explanatory and useful.
nat-traverse establishes connections between nodes which are behind NAT gateways, i.e. hosts which do not have public IP addresses. Additionally, you can setup a small VPN by using pppd on top of nat-traverse. nat-traverse does not need an external server on the Internet, and it isn't necessary to reconfigure the involved NAT gateways, either. nat-traverse works out-of-the-box.
Even so I find the technique they use to get in through the NAT all the way to the PC that theoretically does not have the public ports super interesting:
1.Firstly, nat-traverse on host left sends garbage UDP packets to the NAT gateway of right. These packets are, of course, discarded by the firewall.
2.Then right's nat-traverse sends garbage UDP packets to the NAT gateway of left. These packets are not discarded, as left's NAT gateway thinks these packets are replies to the packets sent in step 1!
3.left's nat-traverse continues to send garbage packets to right's NAT gateway. These packets are now not dropped either, as the NAT gateway thinks the packets are replies to the packets sent in step 2.
4.Finally, both hosts send an acknowledgement packet to signal readiness. When these packets are received, the connection is established and nat-traverse can either relay STDIN to the socket or execute a program.
What I have specifically tested is redirecting a port with netcat, but the problem I think I have is that I don't do a 'masquerade' on the firewall in front of me, but an 'SNAT', and as if that weren't enough, before reaching the firewall I go through an internal router, so there surely is something along the way that is getting in my way, but as I said before, since for now I don't need the tool I have already got tired of insisting. There the topic stays until I really need it or someone takes it on and tells me how it went.
1 comment
Comments from the old blog, as they were written. Comments are closed.
Carita
hardcore roue ^@^ fetiche ciel ^@^ tonaring karlek ii trappan ^@^ servitris samlag ii huset ^@^ beibit filmi ^@^ pomo opiskelija rakas ^@^ femmes matures www ^@^ beaute ecoliere ^@^ direkte kino ^@^ berter urinering i boligen ^@^ amateurs shit in bed ^@^ geheimzinnig meisje ^@^ viilein korea neitsyt ^@^ peloton toimisto ^@^ quarante six mediocre ^@^ chaud fils sequences ^@^ mutandine lesbiche ^@^ culo nudo bello ^@^ koudst forknytt ^@^ nympho latijns amerikaans ^@^