A
A
Anton Piskunov2014-12-05 05:44:27
Debian
Anton Piskunov, 2014-12-05 05:44:27

How to forward traffic to the server in the internal network?

Given:
- server-A - vpn host
- server-B - internal host It is
required to forward clients that connect to server-A through VPN access to server-B.
This means that all calls to IP server-B from the external network (from clients) through the VPN must be correctly processed.
Server-A has eth0 as external and eth1 as internal. tun0 is the VPN interface.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2014-12-05
@gbg

  1. On server A, enable packet redirection (depending on the distribution, a change directly in the config may be overwritten later).
  2. On clients, add a route to server B
  3. On server B, add a route to clients

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question