aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/ip_dynaddr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/ip_dynaddr.txt')
-rw-r--r--Documentation/networking/ip_dynaddr.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/networking/ip_dynaddr.txt b/Documentation/networking/ip_dynaddr.txt
new file mode 100644
index 00000000000..45f3c1268e8
--- /dev/null
+++ b/Documentation/networking/ip_dynaddr.txt
@@ -0,0 +1,29 @@
1IP dynamic address hack-port v0.03
2~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3This stuff allows diald ONESHOT connections to get established by
4dynamically changing packet source address (and socket's if local procs).
5It is implemented for TCP diald-box connections(1) and IP_MASQuerading(2).
6
7If enabled[*] and forwarding interface has changed:
8 1) Socket (and packet) source address is rewritten ON RETRANSMISSIONS
9 while in SYN_SENT state (diald-box processes).
10 2) Out-bounded MASQueraded source address changes ON OUTPUT (when
11 internal host does retransmission) until a packet from outside is
12 received by the tunnel.
13
14This is specially helpful for auto dialup links (diald), where the
15``actual'' outgoing address is unknown at the moment the link is
16going up. So, the *same* (local AND masqueraded) connections requests that
17bring the link up will be able to get established.
18
19[*] At boot, by default no address rewriting is attempted.
20 To enable:
21 # echo 1 > /proc/sys/net/ipv4/ip_dynaddr
22 To enable verbose mode:
23 # echo 2 > /proc/sys/net/ipv4/ip_dynaddr
24 To disable (default)
25 # echo 0 > /proc/sys/net/ipv4/ip_dynaddr
26
27Enjoy!
28
29-- Juanjo <jjciarla@raiz.uncu.edu.ar>