From: "John Paul" Subject: NAT or Proxy? Date: Fri, 13 Jun 2003 08:11:45 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <004901c33140$60294050$fe000a0a@homes> Reply-To: "John Paul" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0046_01C33183.6E265AB0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C33183.6E265AB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0046_01C33183.6E265AB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Case: My "PC" is configured to have a static IP = (say=20 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" >=20 /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 = -j=20 ACCEPT
etc...
 
Question: Im trying to establish plug = and play=20 connectivity. Can "PC" = surf the net=20 connected to the private network (i.e. 192.168.0.0/24) w/o changing its = IP=20 Address (1.2.3.4)??? Can this be handled by a firewall rule or by=20 squid???
 
Your help/tip/comments is very much=20 appreciated.
 
TIA
//Jpee
------=_NextPart_000_0046_01C33183.6E265AB0--