Skip to main content

Help doing a port forwarding.

Comments

8 comments

  • cPanelMichael
    we need a port forwarding on port 24001 on IP: mydomain.dyndns.org "

    Hello, I believe the following thread on StackOverflow answers your question, since you use CSF: ConfigServer Security Firewall & port forwarding Thanks!
    0
  • mrpacogp
    Thank you very much for support. I have tryed but cannot get working this, its very confused for me to setup this rule. I know how to do things on html, css, c#, java, but firewall and rules are a nightmare for me. I have tested: 192.168.1.1(ip of my server?)|24001|mydomain.dyndns.org With two options but not working. Thank you again and apologize about my english.
    0
  • cPanelMichael
    Does the target domain name resolve to a specific IP address? If so, this example should work:
    192.168.1.1|24001|1.2.3.4|80|tcp
    Simply change "192.168.1.1" to the IP address of your server, and "1.2.3.4" to the IP address of the destination server. Thank you.
    0
  • mrpacogp
    The destination need to be a domain.dyndns.org, its possible?
    0
  • cPanelMichael
    It's not advised to use hostnames with iptables rules. You can find discussion of this at: Making iptables easier to maintain Could you provide more information on the purpose of the port forwarding so we can offer alternatives? Thank you.
    0
  • DaGold
    Does the target domain name resolve to a specific IP address? If so, this example should work:
    192.168.1.1|24001|1.2.3.4|80|tcp
    Simply change "192.168.1.1" to the IP address of your server, and "1.2.3.4" to the IP address of the destination server. Thank you.

    I did this but for some reason my settings don't save.
    0
  • mrpacogp
    It's not advised to use hostnames with iptables rules. You can find discussion of this at: Making iptables easier to maintain Could you provide more information on the purpose of the port forwarding so we can offer alternatives? Thank you.

    Hi, they ask about to do this: .- Select static ip or name : domain.dyndns.org .- Open in port 24001 and out port from static ip .- Open out port 14780 redirect to mysihot.net well, i only have a static ip for my server on whm with more domains. I`m a bit confused.
    0
  • cPanelMichael
    Hi, they ask about to do this: .- Select static ip or name : domain.dyndns.org .- Open in port 24001 and out port from static ip .- Open out port 14780 redirect to mysihot.net well, i only have a static ip for my server on whm with more domains. I`m a bit confused.

    From what I understand, since it's using the dyndns.org service, all of the configuration would occur there instead of on the cPanel server. There's a document on this at: Support Wizard | Dyn Help Center Thank you.
    0

Please sign in to leave a comment.