|
lug-bg: Problemi pri linux 2.4 i NAT sus iptables
- Subject: lug-bg: Problemi pri linux 2.4 i NAT sus iptables
- From: ntk@xxxxxxxxxx (Nikolay Kabaivanov)
- Date: Tue, 18 Dec 2001 12:15:40 +0200
Zdrawejte
Izchetoh iptables i NAT Howto.
Iskam da podkaram "adres translaciata" obache ne wurwi kakto triabwa -
raboti kato masquerading (iniciatiwa za konekcia samo w ednata posoka)
Imam RH 7.2 kernel 2.4.16 wcicko za NAT e kompilirano wutre.
2 ethernet-a - eth0 172.16.31.100 i eth1 192.168.0.3
Iskam PC-to 192.168.0.10 da izliza kato 172.16.31.110 i suotwetno wseki
kojto potursi (ot eth0) 172.16.31.110 da wizda PC-to 192.168.0.10
Okazwa se che sega raboti kato masquerading - PC-to izliza nawun no
nikoj nemoze da inicira connection kum nego otwun (t.e. kum
172.16.31.110)
Towa e komandata :
iptables -t nat -I POSTROUTING -s 192.168.0.10 -o eth0 -j SNAT
--to-source 172.16.31.110
Niakakwi idei - kude burkam ? Kakwo ne sum prochel ili razbral kakto
triabwa ?
Izobshto kak prawite NAT-a za sluchaj kato moia ?
Blagodaria wi predwaritelno
__________________________________
Nikolay Kabaivanov, ntk@xxxxxxxxxx
University of Rousse, Bulgaria
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|