I want to simulate ports on subdomains while having only one dynamic ip. This will allow to use full potential of the router.
- Client makes a request to your custom dns.
- Then dns gives the client ip to your router
- dns makes a db query with user's dynamic ip (user: (user's IP) domain: (domain user wants to access (ex. darklynx.org or - - something.darklynx.org))
Then when traffic reaches your router it goes through ngnix or some other service that'll re-translate your traffic according to json file:
- client reaches router and wants to access specific port