Hide Internal IP Adresss From Internet
Hi , I'm using squid proxy, in a CentOS Linux, today i've entered to the whatismyipaddress website, and it's shows my internal Ip address, i want to hide it. I'm thinking if using NAT it could be possible. But i want to know it this is made in squid.conf or Iptables, and if it could help me to hide mi internal IP. Thanks for any help
|
iptables will hide your internal ip adress with NAT
|
Thanks Agrouf , i was looking information about enable NAT on Iptables, and many howto's says
echo 1 > /proc/sys/net/ipv4/ip_forward but when i do this, linux says -bash: /proc/sys/net/ipv4/ipforward: No such file or directory but in the /proc/sys/net/ipv4/ directory its found the ipforward...program?? , i dont unndestand what this line do. could you help me please?? |
Did you do it as root?
Did you confuse ipforward with ip_forward? FYI, this line is allowing the server to forward requests |
yes, ja ja, it was ip_forward (you should have a category for very_newbie or very_stupid members only for me), thanks , just another question , if i do
iptable -t nat -A POSTROUTING -o eth0 -j MASQUERADE must i do to incoming packets from etho, which has static IP. I can't understand this. thanks again |
whatismyip isn't just reading the X Forwarded For header Squid adds?
http://www.grc.com/x/ne.dll?rh0dk2du Not sure if that URL will work but if it does, have a look there to see exactly what you're browser is saying about you and what it all means :) Squid has an option to turn off the forwarded for header so that might be your ticket. |
All times are GMT -5. The time now is 08:20 PM. |