
zehErico
(usa Debian)
Enviado em 22/07/2017 - 10:01h
Cenário:
[Gateway]
- eth0 -> interface pública;
- eth1 -> interface privada;
[Estação 1]
- eth1 -> interface privada
Objetivo:
Liberar internet para
Estação 1 através do
Gateway.
Problema:
Devido à segurança do host em nuvem, o Hypervisor "dropa" os pacotes de saída da máquina Estação 1 para evitar
IP Spoofing.
Detalhes:
On DigitalOcean, packets leaving a Droplet with a different source address will actually be dropped by the hypervisor, so your packets at this stage will never even make it to the web server (we will fix this by implementing SNAT momentarily). This is an anti-spoofing measure put in place to prevent attacks where large amounts of data are requested to be sent to a victim's computer by faking the source address in the request.
O que fiz
Já tentei usar iptables com MASQUERADE ou com SNAT. Teoricamente em redes convencionais o problema seria simples de resolver e com uma destas duas opções citadas estaria resolvido.
O que fazer
Alguém tem alguma ideia do que fazer para contornar este problema?