Howdy,

I want to redirect all requests on port 3389 to specified IP and port
192.168.0.3:3389 for that I use the following in iptables (I tested it
and I found it works fine):
---
sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT
--to-destination 192.168.0.3:3389
iptables -t nat -A POSTROUTING -j MASQUERADE
---

I tried to apply the above using Webadmin as shown in the following
screenshots but it didn't work!
http://i.share.pho.to/3c738400_o.png
http://i.share.pho.to/9f0c08ba_o.png
http://i.share.pho.to/b02e4810_o.png

How can I fix this issue?

The content of /etc/iptables.up.rules is:
---
# Generated by iptables-save v1.4.12 on Tue Feb 4 19:01:20 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Tue Feb 4 19:01:20 2014
# Generated by iptables-save v1.4.12 on Tue Feb 4 19:01:20 2014
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Tue Feb 4 19:01:20 2014
# Generated by iptables-save v1.4.12 on Tue Feb 4 19:01:20 2014
*nat
:INPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
# Test
-A PREROUTING -p tcp -m tcp --dport 3389 -j DNAT --to-destination
192.168.0.3:3389
# Test3
-A POSTROUTING -j MASQUERADE
COMMIT
# Completed on Tue Feb 4 19:01:20 2014
---

--
Best Regards
Muhammad Bashir Al-Noimi

--
Best Regards,
Muhammad Bashir Al-Noimi