Change
your ACCEPT to MAQUERADE.. ACCEPT will cause your 192.168.0.0 IPs to go out to
the internet and guess what the ISP does to them.. yes, drops
them...
Thanks, George Vieira Citadel Computer Systems Pty Ltd
-----Original Message-----
From: John Paul [mailto:john@xxxxxxxxxxxxxxxxxxxx] Sent: Friday, June 13, 2003 10:12 AM To: netfilter@xxxxxxxxxxxxxxxxxxx Subject: NAT or Proxy? Hi,
Case: My "PC" is configured to have a static IP (say
1.2.3.4). My private network is 192.168.0.0/24. I have a firewall,
NAT and squid running in my box.
snip...(iptables)
echo "1" >
/proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j
ACCEPT
etc...
Question: Im trying to establish plug and play
connectivity. Can "PC" surf the net
connected to the private network (i.e. 192.168.0.0/24) w/o changing its IP
Address (1.2.3.4)??? Can this be handled by a firewall rule or by
squid???
Your help/tip/comments is very much
appreciated.
TIA
//Jpee |