A
Not through iptables.Several other web-based systems are described: two servers connected to the Internet independently.In your case (when the second car has a default lock number one), this is quite feasible: https://ru.stackoverflow.com/q/528595/178576 But a more flexible solution I think will be to process. ssl in the first of the vehicles (Slue). http://www.s- I'm gonna need you to know the whole house name and cover it. http-- (grunts) http://www.s♪() Packages for necessary http-servers inside your network, and these servers can be accepted and processed. http-- (grunts) http://www.s♪traffic.to make these servers understand that https used, available https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Common_non-standard_request_fields and these servers will then be able to inform the websites of this fact (e.g. some cms have a habit of redirecting. httpsif " found " what is used http://www.e.g. for authorizing users.how to deal with this title apachewritten, for example, https://habrahabr.ru/post/142363/ :<VirtualHost ...>
ServerName ...
...
SetEnvIf X-Forwarded-Proto https HTTPS=on
...
</VirtualHost>
how to deal with this title nginxwritten, for example, https://forum.nginx.org/read.php?2,11794,11794 :server {
...
set_scheme_from ip-адрес-шлюза;
real_scheme_header X-Forwarded-Proto;
...
}