Advertisement
Guest User

HaarpCache in Parent Proxy of Other HaarpCache

a guest
Nov 27th, 2015
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. CONFIGURANDO HAARP o THUNDER EN PARENT PROXY CON HAARP
  2. Internet
  3. |
  4. |
  5. router_salida
  6. |
  7. eth_route_salida
  8. |
  9. |
  10. eth2
  11. SQUID_HAARP_0-eth0------LAN
  12. eth1
  13. |
  14. |
  15. eth_squid_haarp
  16. |
  17. SQUID_HAARP_1
  18.  
  19. En el SQUID_HAARP_1:
  20. Gateway: <ip_eth1>
  21. http_port 3128 transparent
  22. iptables -A PREROUTING -t nat -i <eth_squid_haarp> -p tcp --dport 80 -j REDIRECT --to-port 3128
  23.  
  24. En SQUID_HAARP_0:
  25. Gateway: <ip_router_salida>
  26. http_port 3128 transparent
  27. iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
  28. iptables -A POSTROUTING -t nat -o eth2 -j SNAT --to <ip_eth2>
  29. iptables -A POSTROUTING -t nat -o eth1 -j SNAT --to <ip_eth1>
  30. HAARP.conf:
  31. PARENTPROXY <ip_eth_squid_haarp>
  32. PARENTPORT 3128
  33.  
  34. echo 1 > /proc/sys/net/ipv4/ip_forward
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement