From d30d8496b0a1ee3e0ed904f59bd4f0689b21c269 Mon Sep 17 00:00:00 2001 From: TLINDEN Date: Tue, 21 Apr 2015 20:14:13 +0200 Subject: [PATCH] txt tweaks --- README.md | 2 +- udpxd.pod | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fe8bb17..945fdf4 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ If it is already installed, you can read the manual page: # Installation This software doesn't have eny external dependencies, but -you need either BSD make or GNU make installed. +you need either BSD make or GNU make installed to build it. First you need to check out the source code. Skip this, if you have already done so: diff --git a/udpxd.pod b/udpxd.pod index 34854f6..015f507 100644 --- a/udpxd.pod +++ b/udpxd.pod @@ -46,23 +46,23 @@ with two interfaces: eth0 on the inside, eth1 on the outside: foo: eth0: 192.168.1.1 - eth0: 10.0.0.1 + eth1: 10.0.0.1 And let's say, you have a client in network 10.0.0.0/24 who whiches to reach -an ntp server in network 192.168.1.1; and you dont operate a +an ntp server in network 192.168.1.0/24; and you dont operate a firewall, nat or routing on 'foo'. Run udpxd like this: udpxd -l 10.0.0.1:123 -d 192.168.1.199:123 Now, if a client with the source ip address 10.0.0.110 sends -an ntp request to 10.0.0.1:123, udpxd will forward that -request to 192.168.1.199:123 with the source ip address +a ntp request to 10.0.0.1:123, udpxd will forward that +packet to 192.168.1.199:123 with the source ip address 192.168.1.1 (because this is where the route points to: eth0). Responses from the ntp server will reach udpxd, which in turn sends them back to the client, where they arrive with the source address (and port) where udpxd is listening. -As you can see, udpxd canbe used to implement hiding nat for +As you can see, udpxd can be used to implement hiding nat for udp services in user space. Another example would be, if 'foo' has multiple ip addresses @@ -80,7 +80,7 @@ B<-b> parameter: In this case for the client everything looks as before, but the ntp server on the other end will see ntp requests coming from -192.168.1.45. +192.168.1.45 instead. =head1 FILES