How to Share a connection on Ubuntu Server without NAT
eth0: 192.168.10.156 eth1: 192.168.5.1
I am creating a Cache Server with TPROXY (squid 3.1), but in my network will not use nat as to deliver IP publicos all machines. In all the tutorials that were always observe the configuration of Ubuntu Server always used nat. But need this model:
eth1 (192.168.5.1)> It receives the data and passes it to eth0 (192.168.10.156 Internet)
Squid does its processing and returns the data to the network!
This works with Nat, but do not want to use NAT because the Squid configuration is with TPROXY (Transparent> Ip Client that should appear on the Internet and not Squid "would NAT")