Help doing a port forwarding.

mrpacogp

Member
Dec 15, 2013
14
0
1
cPanel Access Level
Root Administrator
Hi Guys.
I dont know how to set up something:
"we need a port forwarding on port 24001 on IP: mydomain.dyndns.org "

I can access to mydomain/cpanel also to my server with whm where its configured this domain and a few more.
I use configserver firewall on my whm server.
Apologize about my english.
Kind regards.
 
Last edited by a moderator:

mrpacogp

Member
Dec 15, 2013
14
0
1
cPanel Access Level
Root Administrator
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Does the target domain name resolve to a specific IP address? If so, this example should work:

Code:
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.
 

DaGold

Registered
Feb 22, 2016
1
0
1
US
cPanel Access Level
Website Owner
Does the target domain name resolve to a specific IP address? If so, this example should work:

Code:
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.
 

mrpacogp

Member
Dec 15, 2013
14
0
1
cPanel Access Level
Root Administrator
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
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.