Add several FAQ questions. Closes PR docs/5070.
PR: docs/5070
This commit is contained in:
parent
f3a3dbdbf8
commit
3d1fbbd3c3
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=3376
6 changed files with 178 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<!-- $Id: network.sgml,v 1.12 1998-07-30 02:31:21 jkoshy Exp $ -->
|
||||
<!-- $Id: network.sgml,v 1.13 1998-08-18 23:26:50 dwhite Exp $ -->
|
||||
<!-- The FreeBSD Documentation Project -->
|
||||
|
||||
<sect>
|
||||
|
|
@ -1067,5 +1067,20 @@ default 10.0.0.2 UGSc 0 0 tun0
|
|||
|
||||
</itemize>
|
||||
|
||||
<sect1>
|
||||
<heading>How can I redirect service requests from one machine to another?
|
||||
</heading>
|
||||
|
||||
<p>You can redirect FTP (and other service) request with the 'socket'
|
||||
package, available in the ports tree in category 'sysutils'.
|
||||
Simply replace the service's commandline to call socket instead, like so:
|
||||
|
||||
<verb>
|
||||
ftp stream tcp nowait nobody /usr/local/bin/socket socket ftp.foo.com ftp
|
||||
</verb>
|
||||
|
||||
<p>where 'ftp.foo.com' and 'ftp' are the host and port to redirect to,
|
||||
respectively.
|
||||
|
||||
</sect>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue