[ LUGOS ] NAT

Borut Mrak borut.mrak na ijs.si
Pon Dec 4 16:08:17 CET 2000


On Mon, Dec 04, 2000 at 04:04:06PM +0100, Uroš Gruber wrote:
> internet |--...---|eth0 (212.x.x.x) -- eth1 (192.168.0.1)|--- HUB
> 
> Kje bi dobi kake informacija ali kak how to. Kaj predlagate. Ali je to
> kakšna hitra rešitev. In ali je potem ko to deluje potrebno kaj
> posebej nastavljat glede na to da je ta masina sedaj FTP,WEB in mail
> streznik in bi jo porabil še za to.

poglej si IP-Masquerading HOWTO...ce pa hoces quick&dirty, ti bo pomagalo
tole (upam):

ipachains -A forward -s 192.168.0.0/24 -j MASQ

oz. za jedro 2.4:

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE

lp,

-- 
Borut
borut.mrak na ijs.si
-----------------
Prostitution is the only business where you can go into the hole and still
come out ahead.




Dodatne informacije o seznamu Starilist