S
S
SylarHero2014-06-11 22:00:47
linux
SylarHero, 2014-06-11 22:00:47

Request proxying, hiding the real ip address

Hello! I am interested in the question of what software should be used to set up a proxy server that will redirect requests to a real address and receive responses from it.
Similar implementation https://ddos-guard.net/ru/retail/#remote-websites-... to filter requests.
I need to hide the address of my provider so that complaints from copyright holders come to the post office.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Burov, 2014-06-11
@BuriK666

for http/smtp/pop3/imap nginx is enough.
Or you can use iptables to do DNAT

S
SylarHero, 2014-06-11
@SylarHero

Thanks, figured it out myself. Output - nginx
server {
listen 80;
location / {
proxy_pass http://site.ru:80;
proxy_set_header Host site.ru;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
}
}

M
Maxim Antropov, 2014-07-09
@antiddos

Yes, you correctly found the way out, but your real ip can be calculated from the emaila header. Think about it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question