Jump to content
Compatible Support Forums

CorpoSemAlma

Members
  • Content count

    4
  • Joined

  • Last visited

    Never

Posts posted by CorpoSemAlma


  1. What kind of connection do you have?

    If you already navigating try this:

     

    copy everything inside a file...

    change the " " with your data

    and run it..

     

    Here it goes....

     

    !#/bin/sh

     

    LAN_IP_NET="your lan ip range (maybe 192.168.1.0/24)"

    LAN_NIC="the internal network interface (eth0 or eth1)"

    OUT_NIC="external network interface (eth0, eth1 or ppp0 and so on)"

     

    iptables -t nat -A POSTROUTING -s $LAN_IP_NET -o $OUT_NIC -j MASQUERADE

    iptables -A FORWARD -j ACCEPT -i $LAN_NIC -s $LAN_IP_NET

    iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

     

     

    You should be navigating on XP by now....


  2. Hello!

    It has been a week since I´m trying to make this work.... But I simple cant make it... frown

    I want to make some windows boxes to navigate throught squid with transparent proxy, I tryied a lot of things and nothing works..

     

    Here´s my Squid.conf

    -------------------------

    http_port 3128

    httpd_accel_host virtual

    httpd_accel_port 3128 (tried port 80 too)

    httpd_accel_with_proxy on

    httpd_accel_uses_host_header on

     

    Iptables rule that I´m using

    --------------------------------

    echo 1 > /proc/sys/net/ipv4/ip_forward

    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

     

    I´ve also tried Transproxy and didn´t work too

    ------------------------------------------------------

    tproxy -s 80 -r nobody 192.168.0.100 3128

     

    The boxes navigates throught ports 80 and 3128, but when I take off proxy configuration from connection tab in IE, it takes a long time to respond and terminates with a 404 error (IE error, not the squid page error).

     

    It appears to me that the proxy and port redirection are working, but the windows boxes can´t use the proxy without the proxy configuration on connection tab in IE

     

    Ps. Sorry for the poor English.. I´m Brazilian

     

    Hope someone can help me! ;(

×