I am trying to solve problem about configuration of transparent proxy server. I don't have any configuration on devices, I have not started yet. Because of preparing and studying that topic.
I am starting to be little bit confused how the GRE tunnel for encapsulation of packets works. In fact I know how GRE tunnels works but with the configuration of wccp <-> squid it seems to be different.
Cisco official documentation says, GRE tunnels are created automatically. Why not... Less works for me. But I have to configure GRE tunnel on server side. Thats what squid documentation says, by the way.
- Router IP address = 192.168.1.254
- Local engine with squid = 192.168.1.253
For debian I use following commands:
ip tunnel add wccp0 mode gre remote 192.168.1.254 local 192.168.1.253 dev eth0 ifconfig wccp0 192.168.1.253 netmask 255.255.255.255 up
So I don't have to specify GRE IP address? As in normal situation of site to site tunnel, when I have to? How it works? Cisco router and proxy server will negotiate IP address for GRE encapsulation automatically? Which IP addresses they will use?
Each manual or HOWTO on internet looks pretty different.
I will be very glad for any answer. Thanks in advance.