1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iptables rdp 3389

Discussion in 'Tomato Firmware' started by shadowro, Sep 18, 2013.

  1. shadowro

    shadowro Serious Server Member

    iptables rdp 3389
    works fine inside lan
    3389 tcp/udp forwarded into router for pc's ip 192.168.11.12
    3389 tcp/udp allowed in pc's firewall - all connections

    in firewall script on the router, have the following:

    iptables -t nat -A PREROUTING -p tcp -d 135.23.x.x --dport 3389 -j DNAT --to-destination 192.168.11.12:3389
    iptables -A FORWARD -i br0 -d 192.168.11.12 -p tcp --dport 3389 -j ACCEPT

    where:
    135.23.x.x is my external ip
    192.168.11.12 - pc's ip address

    tried to connect from outside with external ip, dyndns

    still no luck

    worked fine before with ddwrt

    what can be? sorry, noob here at iptables
     
  2. shadowro

    shadowro Serious Server Member

    nevermind
    fixed it
    no firewall iptables needed
    problem was at forwarding in router, no src needed

    thank you tomato
     

Share This Page