M
M
MZhack2020-01-04 18:17:52
openvpn
MZhack, 2020-01-04 18:17:52

How to port forward from one network to another on Ubuntu?

Hello! I'm just starting to work with Ubuntu, so I don't really understand the general manuals. We need a concrete example. The essence of the situation is, there is computer 1 under Ubuntu, which is connected to the eth0 network - 10.10.0.0/24, it has OpenVPN Acess Server installed, which has a network of 172.30.0.0/24. The addresses of computer 1 are 10.10.0.1 and 172.30.0.1 (static). There is a remote computer 2 that is connected to OpenVPN, it has the address 172.30.0.10 (static), ports 8080 and 3389 are open on it. The question is how to make ports 8080 and 3389 available when accessing computer 1 (10.10.0.1 :8080 and 10.10.0.1:3389)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2020-01-04
@ky0

A specific example is not needed, in Ubuntu everything happens similarly to other distributions with iptables/nftables.
Routing, NAT, port forwarding are standard procedures.

K
Karpion, 2020-01-05
@Karpion

Maybe easier routing? Then all ports will be available.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question