User Tools

Site Tools


portforwarding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

portforwarding [2017/01/05 06:43] (current)
felixonmars created
Line 1: Line 1:
 +==== Port forwarding using iptables ==== 
 +<​code>​ 
 +iptables -t nat -A PREROUTING -p tcp -m tcp --dport <​port>​ -j DNAT --to-destination <​host>:<​port>​ 
 +</​code>​
portforwarding.txt · Last modified: 2017/01/05 06:43 by felixonmars