Re: NAT or Proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



oh yes, it was a TYPO ERROR in my part. that should be;
 
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 
*shrug*
 
so, how can I establish plug and play connectivity w/o changing the ip addess of the client. Is it possible to do so?
----- Original Message -----
Sent: Friday, June 13, 2003 9:31 AM
Subject: RE: NAT or Proxy?

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 Systems Manager georgev AT citadelcomputer DOT com DOT au
Citadel Computer Systems Pty Ltd
Phone : +61 2 9955 2644 HelpDesk: +61 2 9955 2698 http://www.citadelcomputer.com.au
 
 
-----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

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux