Netcat connection over dynamic IP

Posted on


I was playing around with netcat on my lan , had PC1 configured as a netcat client and PC2 configured as a netcat server into a reverse netcat TCP connection.This whole reverse TCP connection works just perfect so i was wondering .. is it possible to connect 2 different PCs(each one belongs on its own network) with netcat if both networks use dynamic IPs and not static ones?


Of course it is, as long as:

  • no firewalls are interfering in the path between PC1 and PC2.
  • you know the dynamic IPs in question.
  • if you want to reach hosts behind a NAT router, port forwards are set up correctly.

If the ISP on either end pulls the lease on the dynamic IPs during your connection, it’s likely your connection will break at that time.

Leave a Reply

Your email address will not be published. Required fields are marked *