|If you want you computers to connect by wireless you are going to need two of them, one to capture the apartments network and the other to distribute to your network. A single router cannot do both. A repeater will just leave you on the same network as the apartment.|
The first router needs to be capable of client mode. This reverses the send and receive frequencies within a particular channel. Configure the router for the apartment network IP range with DHCP turned off.
The second router should be connected by wire. A cable from one of the first routers LAN ports to the WAN port of the second router. You should configure the DHCP in that router with a sub net different from that of the apartment. You should then be able to connect by wireless to the second router.
If you are happy to connect your computers by wire, a single router will do it. In that case you need to enable DHCP and NAT in the first router but you will not be able to connect to it via wireless as it will be in client mode, not host mode which is the normal configuration for a router.