Ubuntu – Best way to Local PortForwarding.

HYEONG HWAN, MUN/ 10월 18, 2014/ 미분류/ 0 comments

https://blog.lael.be/post/231

qq8
1. Find out the name of ‘rinetd’ package.

#apt-cache search rinetd
rinetd - Internet TCP redirection server
socat - multipurpose relay for bidirectional data transfer

2. Install ‘rinetd’ Package.

#apt-get install rinetd

3. Configure Port-forward setting.

#vi /etc/rinetd.conf

ex)
1) Listen 10322 PORT.
2) Send All TCP packet to Local 22 PORT.
It is simple to configure.

#host port target target_port
0.0.0.0 10322 127.0.0.1 22

4. Adjust it.

#/etc/init.d/rinetd restart

로컬 포트포워딩 뿐만 아니라 리모트 포트포워딩도 됩니다.

Leave a Comment

작성하신 댓글은 관리자의 수동 승인 후 게시됩니다.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*