S
S
scrdefft2021-03-19 23:23:57
Computer networks
scrdefft, 2021-03-19 23:23:57

Forward multiple IP addresses from the data center home?

Such a noob question: there is a server in the data center, several IP addresses are allocated to it. Is it possible to somehow redirect them to your home with little bloodshed? Heard the abbreviation "L2". ... I’ll say right away that I don’t really want to talk with providers, home and DCs and the DCs themselves about this).

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
ru6ak, 2021-03-20
@scrdefft

VPN + (SNAT+DNAT) ((port forwarding, dmz (sometimes called so in home routers, ip passthrough ))
The word l2 is generally superfluous here.

S
Sanes, 2021-03-19
@Sanes

VPN

R
rPman, 2021-03-20
@rPman

The task is divided into two subtasks, depending on what you need, one of them is not needed:
* you need to accept incoming connections to these ip addresses - port forwarding (implement iptables)
* you need to make outgoing connections with these addresses - via a simple vpn and possibly nat if vpn is on another machine / router (by the way, you can also resolve all iptables, but it’s more difficult)

I
iddqda, 2021-03-23
@iddqda

well, why in the DC IPs
at home, it’s more reliable to host services,
but just really of course:
static arp for the address that you need to hijack so that the server responds to arp requests
+ any L3 VPN from this server home
+ static route to the VPN tunnel so that the packets fly in the right direction
+ hijacked house address on loopback

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question