Mailing List Archive

Support open source code!


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

Re: tlug: It works!



>Why don't you set up IP Masquerading, then, if you only have 2 IP
>addresses?  TL's standard kernels include support for it, so all you need
>to do is add a few lines to rc.local to turn them on, like this:
>
>ipfwadm -F -p deny
>ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
>
>Of course, you'll need 2 network cards in the machine doing this.  Set the
>IP address of eth1 to 192.168.1.1, and then your other machines to
>192.168.1.2, .3, .4, etc, and have them use 192.168.1.1 as the default
>gateway.

Am I right in thinking those extra machines (eg. 192.168.1.2) can't do web
browsing, ftp, connect to a POP server, etc? So the only external machine
that can see them is the one with the two network cards?

What I'm thinking is that when a web server on the net gets a request from
192.168.1.2 how will it know where to send the reply to? Or am I
misunderstanding something (again :-)?

Darren

---------------------------------------------------------------
Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate
Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP"
Next Nomikai: 20 November, 19:30  Tengu TokyoEkiMae 03-3275-3691
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links