odchozi pakety z eth0:2

Jan Kasprzak kas na informatics.muni.cz
Pátek Říjen 27 17:57:32 CEST 2000


Milan Sorm wrote:
: # > ahoj. slo by nejak zaridit, aby jeden konkretni program (rdate)
: # > komunikoval pres eth0:2 misto eth0:0 ?
: # 
: No jde o rdate, tak k tomu bych snad zdrojaky nasel. Ale neprijde mi to jako
: dobre reseni. 
: 
	Proc ne?

TIMTOWTDI:

iptables -t nat -A OUTPUT -d timeserver -p tcp --dst-port time -j SNAT --to-source=<adresa-eth0:2>

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
///      MS is a lot better at making money  than it is at making        \\\
//       good operating systems.                 --Linus Torvalds         \\


Další informace o konferenci Linux