aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Misc.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-10 21:11:27 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-10 21:11:27 +0100
commit1be1c4a21bb54e60ec60456374d9ef55aaf55e2f (patch)
tree94a554229c0232baad0585aeaef9e354e3f630a8 /nxcomp/Misc.h
parent79f218b563f6a4d3b17e92ee85ad242575daf8da (diff)
downloadnx-libs-1be1c4a21bb54e60ec60456374d9ef55aaf55e2f.tar.gz
nx-libs-1be1c4a21bb54e60ec60456374d9ef55aaf55e2f.tar.bz2
nx-libs-1be1c4a21bb54e60ec60456374d9ef55aaf55e2f.zip
Force NX proxy to bind to loopback devices only (loopback option) (220_nxproxy_bind-loopback-only.full+lite.patch).
Diffstat (limited to 'nxcomp/Misc.h')
-rw-r--r--nxcomp/Misc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nxcomp/Misc.h b/nxcomp/Misc.h
index 3f37836f5..21a503082 100644
--- a/nxcomp/Misc.h
+++ b/nxcomp/Misc.h
@@ -90,6 +90,14 @@ extern const int DEFAULT_NX_SLAVE_PORT_CLIENT_OFFSET;
extern const int DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET;
//
+// NX proxy binds to all network interfaces by default
+// With the -loopback parameter, you can switch
+// over to binding to the loopback device only.
+//
+
+extern const int DEFAULT_LOOPBACK_BIND;
+
+//
// Return strings containing various info.
//