Update Question 14.22:
- Mark up options with <option> - Mark up libalias(3), tcpdump(1) - Use — - Update path of libalias(3) sources - Mark up cvsup with <command> Approved by: gabor
This commit is contained in:
parent
8f475017ed
commit
42d9ae98e1
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32445
1 changed files with 9 additions and 9 deletions
|
|
@ -9072,11 +9072,11 @@ ATDT1234567</programlisting>
|
|||
|
||||
<qandaentry>
|
||||
<question id="ppp-nat-games">
|
||||
<para>Why do most games not work with the -nat switch?</para>
|
||||
<para>Why do most games not work with the <option>-nat</option> switch?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
<para>The reason games and the like do not work when libalias
|
||||
<para>The reason games and the like do not work when &man.libalias.3;
|
||||
is in use is that the machine on the outside will try to open a
|
||||
connection or send (unsolicited) UDP packets to the machine on
|
||||
the inside. The NAT software does not know that it should send
|
||||
|
|
@ -9084,8 +9084,8 @@ ATDT1234567</programlisting>
|
|||
|
||||
<para>To make things work, make sure that the only thing
|
||||
running is the software that you are having problems with, then
|
||||
either run tcpdump on the tun interface of the gateway or
|
||||
enable &man.ppp.8; tcp/ip logging (<literal>set log +tcp/ip</literal>)
|
||||
either run &man.tcpdump.1; on the &man.tun.4; interface of the gateway or
|
||||
enable &man.ppp.8; TCP/IP logging (<literal>set log +tcp/ip</literal>)
|
||||
on the gateway.</para>
|
||||
|
||||
<para>When you start the offending software, you should see
|
||||
|
|
@ -9110,7 +9110,7 @@ ATDT1234567</programlisting>
|
|||
<para>You will not be able to use the software on other machines
|
||||
without changing the above command, and running the software
|
||||
on two internal machines at the same time is out of the question
|
||||
- after all, the outside world is seeing your entire internal
|
||||
— after all, the outside world is seeing your entire internal
|
||||
network as being just a single machine.</para>
|
||||
|
||||
<para>If the port numbers are not consistent, there are three
|
||||
|
|
@ -9118,9 +9118,9 @@ ATDT1234567</programlisting>
|
|||
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<para>Submit support in libalias. Examples of
|
||||
<para>Submit support in &man.libalias.3;. Examples of
|
||||
<quote>special cases</quote> can be found in
|
||||
<filename>/usr/src/lib/libalias/alias_*.c</filename>
|
||||
<filename>/usr/src/sys/netinet/libalias/alias_*.c</filename>
|
||||
(<filename>alias_ftp.c</filename> is a good
|
||||
prototype). This usually involves reading certain
|
||||
recognised outgoing packets, identifying the
|
||||
|
|
@ -9136,8 +9136,8 @@ ATDT1234567</programlisting>
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Use a proxy. The application may support socks5
|
||||
for example, or (as in the <quote>cvsup</quote> case)
|
||||
<para>Use a proxy. The application may support <literal>socks5</literal>
|
||||
for example, or (as in the <command>cvsup</command> case)
|
||||
may have a <quote>passive</quote> option that avoids
|
||||
ever requesting that the peer open connections back to
|
||||
the local machine.</para>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue