Comment on Retain source IP when proxying through VPS

<- View Parent
themoonisacheese@sh.itjust.works ⁨11⁩ ⁨months⁩ ago

So to be clear, you want traffic coming out of your VPS to have a source address that is your home IP?

let’s go back to fundamentals and assume for a second that your VPS provider allows these packets out and your VPS initiates a TCP connection like that. It sends a TCP SYN with source: home address and dest: remote.

The packet gets routed to the remote. The remote accepts and responds SYN/ACK with source: remote and dest: home address.

Where do you think this packet will get routed? When it gets there, do you think the receiving server (and NAT gateways in between) will accept this random SYN/ACK that doesn’t appear to have a corresponding outgoing packets sent first? If so, how?

source
Sort:hotnewtop