How to redirect traffic from one interface to another?

Hello. Faced the following problem.

The car is nginx, this site is hosted.
In the local mesh I unable to access your website by ip 172.16.8.170 with ip 172.16.8.191 (another machine on the local network).
But from the outside world can not for ip 217.149.177.16.

$ ifconfig
enp1s0: flags=4163<up,broadcast,running,multicast> mtu 1500
 172.16.8.170 inet netmask 255.255.0.0 broadcast 172.16.255.255
 inet6 fe80::c288:74b0:fad4:d907 prefixlen 64 scopeid 0x20<link>
 ether 44:8a:5b:8e:c7:35 txqueuelen 1000 (Ethernet)
 15304850 bytes RX packets 19034375292 (19.0 GB)
 RX errors 0 dropped 0 overruns 0 frame 0
 TX packets bytes 9759984 924136878 (924.1 MB)
 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536
 inet 127.0.0.1 netmask 255.0.0.0
 inet6 ::1 prefixlen 128 scopeid 0x10<host>
 loop txqueuelen 1000 (the Local loop (Loopback))
 121893 bytes RX packets 16842812 (16.8 MB)
 RX errors 0 dropped 0 overruns 0 frame 0
 TX packets 16842812 121893 bytes (16.8 MB)
 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ppp0: flags=4305<up,pointopoint,running,noarp,multicast> mtu 1400
 217.149.177.16 inet netmask 255.255.255.255 destination 10.111.111.1
 ppp txqueuelen 3 (the Protocol PPP (Point-to-Point Protocol))
 13931448 bytes RX packets 18720267169 (18.7 GB)
 RX errors 0 dropped 0 overruns 0 frame 0
 TX packets bytes 8841915 602120766 (602.1 MB)
 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</up,pointopoint,running,noarp,multicast></host></up,loopback,running></up,broadcast,running,multicast>


Looking for the answer to this question in the Internet for 4 days. Basically they write that everything is solved through iptables, but what I manipulation not conducted, refuses to work.
June 3rd 19 at 19:11
2 answers
June 3rd 19 at 19:13
Solution
In General, the problem was that the ISP might be blocking standard ports (such as 22, 80 ... ). In the end the solution was to change the "standard" port.
June 3rd 19 at 19:15
If You have white IP, then add to config nginx to listen with the correct IP:PORT and all, no need for any redirects
Tried, not helped. - nikita.Stracke commented on June 3rd 19 at 19:18
You have a white IP ? - Gonzalo.Hane39 commented on June 3rd 19 at 19:21

Find more questions by tags VPNNginxIptablesUbuntuLinux