presmerovani trafficu z wan rozhrani na jiny stroj na Internetu



podle: http://www.abclinuxu.cz/forum/show/216278

jde to napr. pres xinetd. nainstaluj balik xinetd a do souboru /etc/xinetd.d/tvujnazev napr.:
service tvujnazev
{
	disable = no
	port = 1234
	bind = IpAdresaNeboHostname
	socket_type = stream
	protocol = tcp
	wait = no
	user = nobody
	redirect = xxx.example.com 5555
}

pak cokoliv se pripoji na lokalni TCP port 1234 se presmeruje na xxx.example.com port 5555
Last update:
2008-02-29 08:38
Author:
Daniel
Revision:
1.58
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.