HTTP Forwarders / Relays
Concealing attacking hosts through with redirectors/traffic forwarders using iptables or socat
Purpose
HTTP Forwarding with iptables
iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 10.0.0.2:80
iptables -t nat -A POSTROUTING -j MASQUERADE
iptables -I FORWARD -j ACCEPT
iptables -P FORWARD ACCEPT
sysctl net.ipv4.ip_forward=1
Testing iptables


HTTP Forwarding with SOCAT

References
Last updated