To extend the Ethernet cable, you can use a passive adapter (adapter), equipped with two RJ45 sockets connected 1:1 (i.e. each pin of one socket with the corresponding pin of the other). There are also connectors for installation cables, i.e. without plugs - an example of such a solution is the LogiLink NP0012B connector.