K
K
karybdis2020-05-31 00:16:06
Computer networks
karybdis, 2020-05-31 00:16:06

How to organize traffic correctly?

Good afternoon!
I am learning something new for myself, I am completely zero in this. I don't understand Ubuntu or networking or anything. It's just interesting for yourself to deal with it and tinker with it. As a result, questions arise.
Now there is a VPS from AmazonWS with Ubuntu on board, on which a VPN is raised ( https://github.com/hwdsl2/setup-ipsec-vpn) . Part of the home traffic goes through this vpn - mostly sites on Cloudflare that are safely blocked by my provider .
Home Mikrotik hap Ac2 is connected to this VPN.
Behind Mikrotik is a small home webserver.
Mikrotik does not have a white IP. Ie you need dyndns as I understand it?
AWS has a whitelisted IP address. There is a domain that is tied to this IP. How to originate traffic to the home web server?
I understand that you can set up a web server on AWS, but I want to organize just such a scheme.
According to my reasoning, it is necessary to raise dyndns on AWS and somehow forward ports using routing? Or given that there is a VPN, dyndns is not needed?

upd. Actually, I would like the site that is running on the home web server to be visible on the Internet.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question