OK, I don't have any bridges between connections, I have an internal eth0 and external ppp0, on this (gateway) pc.
Anything directed to the internet from the other box(192.168.0.3), comes in at eth0(192.168.0.2), and is redirected to the proxy cache (squid) before accessing ppp0.
Connections from my system are also routed to the squid proxy cache, via 192.168.0.2 before finding it's way to ppp0.
I do that via the browser connection preferences, both konqueror and mozilla firefox.
I'm using iptables and squid to do this with forwarding in /etc/sysctl.conf
Quote:
#---------------------------------------------------------------
# Enable IP routing. Required if your firewall is protecting a
# network, NAT included
#---------------------------------------------------------------
# Activate IP forwarding
net.ipv4.ip_forward = 1
|
The rest of the configs, /etc/host /etc/host.allow, /etc/host.deny, and /etc/resolv.conf (dns addresses),
/etc/sysconfig/network
Quote:
NETWORKING=yes
GATEWAY=10.64.64.64
GATEWAYDEV=ppp0
HOSTNAME=GamesBox.GlennsPref.net
DOMAIN=GlennsPref.net
FORWARD_IPV4=true
|
/etc/sysconfig/network-scripts/ifcfg-eth0
Quote:
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.0
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=yes
DNS1=192.168.0.0
RESOLV_MODS=no
LINK_DETECTION_DELAY=6
IPV6INIT=yes
IPV6TO4INIT=yes
|
The others are iptables and squid.conf, I can post them too if need be.
So all out-going connections are directed to the eth0(int), hits the cache and goes out via ppp0.
That's all I have to share, Except two pages I have found to be helpful to me...
http://www.linuxhomenetworking.com/
http://www.opensourcehowto.org/home/
Regards, Glenn. I hope this helps.