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

Re: IP Masquerade



Rob Weir wrote:

On Mon, Feb 17, 2003 at 03:46:06PM +1100, Russell wrote:
Hi all,

I have a PC (PC_1) connected to the ISP via dialup ppp (DHCP assigned
address). PC_1 also has an ethernet card: 192.168.0.1

Another PC (PC_2: 192.168.0.2) connects to PC_1 via ethernet.

Can i access my ISPs DNS servers on PC_2 just with some static rules
set up on PC_1, or does PC_1 need IP masquerading working?

Any sort of solution you come up with will just be some poor imitation
of NAT.  You can either use the 'ipmasq' package (which does most
everything automatically) or install a caching DNS server on PC_1 and
point PC_2 at that.

Hi,
I built and installed a 2.4.20 kernel with packet filtering functions
and installed ipmasq, iptables, etc.
There's no manual pages on how to tell ipmasq or ip_tables to enable
all this stuff from a config file, or how to tell it what interface (eth0)
to use. There's a bunch of rules in /etc/ipmasq/rules, but there's no
explanation of how to use the whole system.




Reply to: