Skip to contentSkip to conversation

NAT or Proxy?

DISCUSSION John Paul 1 participant 1 message Jun 13, 2003

lore
Share & tools
lore

John Paul

author
#0 lore raw

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