mirror of
https://github.com/darkk/redsocks.git
synced 2025-08-26 11:45:30 +00:00
conf.example: comments about UDP redirection
This commit is contained in:
parent
d8d521c4b5
commit
9352d659ba
@ -82,11 +82,14 @@ redudp {
|
|||||||
login = username;
|
login = username;
|
||||||
password = pazzw0rd;
|
password = pazzw0rd;
|
||||||
|
|
||||||
// kernel does not give us this information, so we have to duplicate it
|
// redsocks knows about two options while redirecting UDP packets at
|
||||||
// in both iptables rules and configuration file. By the way, you can
|
// linux: TPROXY and REDIRECT. TPROXY requires more complex routing
|
||||||
// set `local_ip' to 127.45.67.89 if you need more than 65535 ports to
|
// configuration and fresh kernel (>= 2.6.37 according to squid
|
||||||
// forward ;-)
|
// developers[1]) but has hack-free way to get original destination
|
||||||
// This limitation may be relaxed in future versions using contrack-tools.
|
// address, REDIRECT is easier to configure, but requires `dest_ip` and
|
||||||
|
// `dest_port` to be set, limiting packet redirection to single
|
||||||
|
// destination.
|
||||||
|
// [1] http://wiki.squid-cache.org/Features/Tproxy4
|
||||||
dest_ip = 8.8.8.8;
|
dest_ip = 8.8.8.8;
|
||||||
dest_port = 53;
|
dest_port = 53;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user