From 5a4e8ff2a17e2f1e524356f774c40b28c4eaeabb Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 8 Jun 2020 14:01:58 +0200 Subject: [PATCH] portweiterleitung_to_client --- README | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..a398c81 --- /dev/null +++ b/README @@ -0,0 +1,8 @@ +vps# iptables -t nat -A PREROUTING -p tcp --dport 9987 -j DNAT --to-destination 192.168.1.3 (mein Homeserver wenn ich richtig verstanden habe) +vps# iptables -t nat -A POSTROUTING -p tcp --dport 9987 -j MASQUERADE + +vps# iptables -t nat -A PREROUTING -p tcp --dport 30033 -j DNAT --to-destination 192.168.1.3 +vps# iptables -t nat -A POSTROUTING -p tcp --dport 30033 -j MASQUERADE + +vps# iptables -t nat -A PREROUTING -p tcp --dport 10011 -j DNAT --to-destination 192.168.1.3 +vps# iptables -t nat -A POSTROUTING -p tcp --dport 10011 -j MASQUERADE