This commit is contained in:
parent
8d9cd2f8f0
commit
ed1ee08524
1 changed files with 3 additions and 3 deletions
|
@ -100,8 +100,8 @@
|
||||||
iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2
|
iptables -t nat -A PREROUTING -p udp --dport 10000 -j DNAT --to-destination 10.100.0.2
|
||||||
iptables -t nat -A POSTROUTING -p udp --dport 10000 -j MASQUERADE
|
iptables -t nat -A POSTROUTING -p udp --dport 10000 -j MASQUERADE
|
||||||
|
|
||||||
# PORT 3478
|
# # PORT 3478
|
||||||
iptables -t nat -A PREROUTING -p udp --dport 3478 -j DNAT --to-destination 10.100.0.2
|
# iptables -t nat -A PREROUTING -p udp --dport 3478 -j DNAT --to-destination 10.100.0.2
|
||||||
iptables -t nat -A POSTROUTING -p udp --dport 3478 -j MASQUERADE
|
# iptables -t nat -A POSTROUTING -p udp --dport 3478 -j MASQUERADE
|
||||||
'';
|
'';
|
||||||
}
|
}
|
Loading…
Reference in a new issue