rejetto forum

DynDNS Port problem (port + Wan)

nickod · 11 · 15729

0 Members and 1 Guest are viewing this topic.

Offline nickod

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
Hi,

My HFS run Great, can connect from another network/isp

i use DynDns to refresh my ip cuz im Dynamic

But... i got Load Balancing (dsl and cable)

i have fowarded the port 81 and all data for or from hfs was sent to the dsl line... but the dns updater in hfs sems to use another port... they always update my ip every time but they change to the second, return to the first, etc...

i want to know wich port this udater use!!!

if i know the port used i will foward it to the correct nic/WAN ...

thanks!!


Offline nickod

  • Occasional poster
  • *
    • Posts: 6
    • View Profile


After some test, all user use the good wan/ip, just the dyndns updater was wrong.

If Somehone Know wich port this soft use to update tel me please! ;)

after some search on google i'm unable to find a dns updater with a specific port option....


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i don't see how the dns updater could be related to the port.
it uses a standard way to communicate your IP address to the service provider, but no port.
maybe the HFS updater doesn't handle your case well, and you should try DynDNS official updater.


Offline nickod

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
Thanks,

I have tryed Dyndns updater (unofficial) and the official one... unable to find a trick to redirect these data to a spesific way (port etc...) im able to redirect anythhing... protocol port, a specific destination ip...

the ip used to update the dns, i think if i got it i can redirect all trafic for/from this ip on a specefic NIC =)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
your needs are still unclear to me, maybe also to others.
you may try to draw a sketch


Offline nickod

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
There is it! (attachments)

if the HFS dyn dns updater try to chek/update my ip, i got different ip everytime (form ISP1 or 2)

cuz they take random connection to update due to load balancing

Im able to foward the traffic to one specefic ISP, but i need the port or the protocol used by the sofware.

Example:

My HFS use Port 81

my friend can connect to my IP (through ISP1) but can't with ip of IS2, Cuz i foward my port 81 to ISP1 only (for multiple reason ex; bandwith latency etc..)

But The updater, Change my Dyn dns Ip everytime (same if port 81 to ISP1)

0.0.0.1 for the first time,
0.0.0.2 after 5-6 min... etc... always switch cuz my router load balance every conenction... but im able to create some rules for exclusion.

For this i need to know "how" the updater work! port/protocol or anything im able to redirect to a specefic ISP :)

Thanks
« Last Edit: July 02, 2009, 05:19:59 PM by nickod »


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
Your picture does not make very clear what you are using to connect isp's to your switch.

For the case your firewall-loadbalance-qos-thing is hardware connected to 2 modem-routers, you could try to update your dyndns directly in one of the routers (many routers allow this!) instead of using hfs to do this.
your computer has no brain - use your own !


Offline nickod

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
Yeah this hardware alows Dyn dns updater... but not alowed in load balancing mode

(pfsense router) connected to 2 modem
i use the last build.

They appear in the next version they will support dyndns on load balancing...


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
HFS updater uses http on port 80 to detect your IP.
For load balancing, it changes server everytime, on a short list.
I guess you cannot make a rule based on http/80 to affect this thing only.
And i don't know the system used by the dyndns official updater, so can't help.

But HFS has a way to force which server to be used.

1.
Inject in your hfs.ini
external-ip-server=http://www.whatismyip.org/

2.
make a rule to always use the same NIC for that address, or 75.147.234.41 if you must use a numerical address


Offline nickod

  • Occasional poster
  • *
    • Posts: 6
    • View Profile

Offline AvvA

  • Tireless poster
  • ****
    • Posts: 135
    • View Profile
Just for the information :)
A classic DNS request goes on port 53 by default, and return on the same port.

DynDNS services seem to use differents ways, also they use a trick, perhaps it could help...
They use port 80 and 8245 for HTTP and 443 for HTTPS, here is the link with the full explanation (this is short) :
http://www.dyndns.com/developers/specs/syntax.html

The trick is about the 8245 port, that is use to bypass transparent proxies.