In case someone else is looking for a way that actually works. Though
@HorsePunchKid is right in his suggestion, I've found this walkthrough
that fills in the missing steps:
http://www.debuntu.org/how-to-redirecting-network-traffic-to-a-new-ip-using-iptables/ In essence: Enable IP Forwarding:
Add your forwarding rule:
Ask IPtables to Masquerade:
And that's it! It worked for me in any case :) |
Friday, September 11, 2015
Simple port forwarding using iptables
Labels:
iptables,
port forward
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment