S
S
Serg Off2015-09-27 18:09:24
linux
Serg Off, 2015-09-27 18:09:24

How to forward Internet access to vds from VLAN through two routers?

Tell me which way to dig: there is a virtual machine in the vlan with the address 10.x.x.x. Through the 10.x.x.1 gateway, it has access to the network to the 172.16.x.x network. In the network 172.16.x.x there is a gateway 172.16.x.100 through which there is access to the Internet.
How to forward access to the Internet for a virtual machine in vlan. router with address 10.х.х.1 is unavailable for configuration

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Daemon23RUS, 2015-09-27
@Daemon23RUS

on the gateway 172.16.x.100 add a route to the network 10.x.x.x
on the gateway 172.16.x.100 natit packets from 10.x.x.x
PS Criticism is welcome ...

R
Ruslan Fedoseev, 2015-09-27
@martin74ua

vpn tunnel from virtual machine to gateway 172.16.x.100

S
Serg Off, 2015-09-27
@mnhunter81

why white ip - the task is to provide access to the Internet from the inside
, two internal networks are united by routing through gateways on both sides on the router - to which there is just no access.
in general, the solution seems to be one - vpn.
since encryption is not needed, I would like to try through the gre tunnel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question