From 9ffffe11ab2a1804b385f6a61a214097657a8498 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Mon, 3 Apr 2000 09:36:51 +0000 Subject: [PATCH] Use ppp -nat, not ppp -alias (which is now depricated) --- en_US.ISO8859-1/books/faq/book.sgml | 30 ++++++++++++++-------------- en_US.ISO_8859-1/books/faq/book.sgml | 30 ++++++++++++++-------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/en_US.ISO8859-1/books/faq/book.sgml b/en_US.ISO8859-1/books/faq/book.sgml index c0fbdd6759..ae5a80d8a9 100644 --- a/en_US.ISO8859-1/books/faq/book.sgml +++ b/en_US.ISO8859-1/books/faq/book.sgml @@ -13,7 +13,7 @@ - $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.46 2000/03/25 21:09:34 alfred Exp $ + $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.47 2000/04/03 09:36:31 brian Exp $ This is the FAQ for FreeBSD versions 2.X and 3.X. All entries @@ -5933,7 +5933,7 @@ program. Natd allows you to connect an entire sub internet using only a single IP number. The ppp program has similar functionality built in via -the switch. The alias library +the switch. The alias library is used in both cases. @@ -7048,8 +7048,8 @@ so that the source IP number is changed from the interface IP to the negotiated IP on the fly. This is essentially what the iface-alias option in the latest version of ppp is doing (with the help of libalias(3) -and ppp's switch) - it's maintaining all previous -interface addresses and aliasing them to the last negotiated address. +and ppp's switch) - it's maintaining all previous +interface addresses and NATing them to the last negotiated address. Another alternative (and probably the most reliable) would be to implement a system call that changes all bound sockets from one @@ -7072,12 +7072,12 @@ is capable of fixing things retrospectively. -Why don't most games work with the -alias switch +Why don't most games work with the -nat switch The reason games and the like don't work when libalias 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 packet alias software doesn't know that +on the inside. The NAT software doesn't know that it should send these packets to the interior machine. To make things work, make sure that the only thing running @@ -7094,7 +7094,7 @@ consistent. If they are, then the following line in the relevant section of /etc/ppp/ppp.conf will make the software functional: - alias port proto internalmachine:port port + nat port proto internalmachine:port port @@ -7130,7 +7130,7 @@ option that avoids ever requesting that the peer open connections back to the local machine. 3) Redirect everything to the internal machine using -``alias addr''. This is the sledge-hammer approach. +``nat addr''. This is the sledge-hammer approach. @@ -7148,7 +7148,7 @@ be replaced with the IP number of the machine playing the game. Quake -alias port udp internal:6112 6112 +nat port udp internal:6112 6112 Alternatively, you may want to take a look at www.battle.net for Quake proxy support. @@ -7164,7 +7164,7 @@ be replaced with the IP number of the machine playing the game. Quake 2 -alias port udp internal:27901 27910 +nat port udp internal:27901 27910 @@ -7177,9 +7177,9 @@ be replaced with the IP number of the machine playing the game. Red Alert -alias port udp internal:8675 8675 +nat port udp internal:8675 8675 -alias port udp internal:5009 5009 +nat port udp internal:5009 5009 @@ -7192,7 +7192,7 @@ be replaced with the IP number of the machine playing the game. Half Life -alias port udp internal:27005 27015 +nat port udp internal:27005 27015 @@ -7205,9 +7205,9 @@ be replaced with the IP number of the machine playing the game. PCAnywhere 8.0 -alias port udp internal:5632 5632 +nat port udp internal:5632 5632 -alias port tcp internal:5631 5631 +nat port tcp internal:5631 5631 diff --git a/en_US.ISO_8859-1/books/faq/book.sgml b/en_US.ISO_8859-1/books/faq/book.sgml index c0fbdd6759..ae5a80d8a9 100644 --- a/en_US.ISO_8859-1/books/faq/book.sgml +++ b/en_US.ISO_8859-1/books/faq/book.sgml @@ -13,7 +13,7 @@ - $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.46 2000/03/25 21:09:34 alfred Exp $ + $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.47 2000/04/03 09:36:31 brian Exp $ This is the FAQ for FreeBSD versions 2.X and 3.X. All entries @@ -5933,7 +5933,7 @@ program. Natd allows you to connect an entire sub internet using only a single IP number. The ppp program has similar functionality built in via -the switch. The alias library +the switch. The alias library is used in both cases. @@ -7048,8 +7048,8 @@ so that the source IP number is changed from the interface IP to the negotiated IP on the fly. This is essentially what the iface-alias option in the latest version of ppp is doing (with the help of libalias(3) -and ppp's switch) - it's maintaining all previous -interface addresses and aliasing them to the last negotiated address. +and ppp's switch) - it's maintaining all previous +interface addresses and NATing them to the last negotiated address. Another alternative (and probably the most reliable) would be to implement a system call that changes all bound sockets from one @@ -7072,12 +7072,12 @@ is capable of fixing things retrospectively. -Why don't most games work with the -alias switch +Why don't most games work with the -nat switch The reason games and the like don't work when libalias 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 packet alias software doesn't know that +on the inside. The NAT software doesn't know that it should send these packets to the interior machine. To make things work, make sure that the only thing running @@ -7094,7 +7094,7 @@ consistent. If they are, then the following line in the relevant section of /etc/ppp/ppp.conf will make the software functional: - alias port proto internalmachine:port port + nat port proto internalmachine:port port @@ -7130,7 +7130,7 @@ option that avoids ever requesting that the peer open connections back to the local machine. 3) Redirect everything to the internal machine using -``alias addr''. This is the sledge-hammer approach. +``nat addr''. This is the sledge-hammer approach. @@ -7148,7 +7148,7 @@ be replaced with the IP number of the machine playing the game. Quake -alias port udp internal:6112 6112 +nat port udp internal:6112 6112 Alternatively, you may want to take a look at www.battle.net for Quake proxy support. @@ -7164,7 +7164,7 @@ be replaced with the IP number of the machine playing the game. Quake 2 -alias port udp internal:27901 27910 +nat port udp internal:27901 27910 @@ -7177,9 +7177,9 @@ be replaced with the IP number of the machine playing the game. Red Alert -alias port udp internal:8675 8675 +nat port udp internal:8675 8675 -alias port udp internal:5009 5009 +nat port udp internal:5009 5009 @@ -7192,7 +7192,7 @@ be replaced with the IP number of the machine playing the game. Half Life -alias port udp internal:27005 27015 +nat port udp internal:27005 27015 @@ -7205,9 +7205,9 @@ be replaced with the IP number of the machine playing the game. PCAnywhere 8.0 -alias port udp internal:5632 5632 +nat port udp internal:5632 5632 -alias port tcp internal:5631 5631 +nat port tcp internal:5631 5631