This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem using DNS

Hi,
I have one static public IP. Actually I can access to my webserver using my public. I have create a DynDns account. Now I want access to my webserver using something like "myaccount.dyndns.org".

Can you help me to write the rule and NAT in order to allow this ? I have write the same DNAT rule than for access using public IP but it doesn't work !

    Regards,


This thread was automatically locked due to age.
  • Traffic selector:  Any →  HTTP →  {Astaro name of additional interface on external port}
    Destination translation: {Astaro name of webserver host}

    Since packet filter rules are applied after a DNAT, you will also need a packet filter rule.
    Any -> HTTP -> {Astaro name of webserver host}
  • Thanks for your answer.
    I don't understand why it doesn't work. I have already done what you say.

    I join a copy of my rules and DNAT.

        Regards,
  • Do not specify the DNAT target service as "any", just leave it blank or set it to the specific service.
  • Finally the problem was very stupid :-)
    The IP with the DynDNS account wasn't my real IP ! I have correst this and now all it's ok.

    Thanks for your help.
  • Villegente, there are still some changes you should make that would help you understand how the Astaro works.

    The 'Destination Service' should be left blank unless you want to change the source 'Traffic Service' to a different service; as Jack said, don't leave that 'Any' there.


    Your Packet Filter rule number 4 is not necessary.  Like the Astaro, firewalls are designed to block all traffic unless explicitly allowed.  Your rule number 4 is what happens to any traffic not allowed by one of the earlier rules.

    Filter rule 3 works, it's true, but is unnecessarily too broad; the only service you need is 'Web Surfing'.


    I would probably delete rule 1 since it's "dangerous", but I'm probably obsessive-compulsive when it comes to such things!

    A la prochain - Bob