How on Ubuntu to do the forwarding port from one network to another?

Hello! Just starting to work with Ubuntu, so as a General Pallas ' cats do not really understand. Need a specific example. The essence of the situation in what is a computer 1 Ubuntu connected to network eth0, it has OpenVPN Acess Server that has a network of Addresses computer 1 - and (static). Is the remote computer 2 that is connected to OpenVPN, it has the address (statics), it to open ports 8080 and 3389. The question how to do port 8080 and 3389 were available when referring to the computer 1 ( and
April 4th 20 at 00:46
2 answers
April 4th 20 at 00:48
A specific example is not necessary, in Ubuntu everything is similar to other distros with iptables/nftables.

Routing, NAT, port forwarding standard procedure.
I Need a concrete example

you do not need a Specific example

Don't need your stupid (otherwise just can't call) answers and need a few commands to enter in terminal to get the desired result. - gaylord.Buckridge commented on April 4th 20 at 00:51
April 4th 20 at 00:50
It might be easier for routing? Then all ports will be accessible.
How to implement? - gaylord.Buckridge commented on April 4th 20 at 00:53
First draw network and to describe the distribution of IP addresses on it. And I Your description not understand.

And then the route command to add routes. T traceroute (or tracert.exe) - to check the work.

PS: Look for the article "the Static IP routing". - Ernest.Bauch commented on April 4th 20 at 00:56
@Ernest.Bauch, 5e14853485148703724893.png - gaylord.Buckridge commented on April 4th 20 at 00:59

Find more questions by tags OpenVPNUbuntu