1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Firewall Rules - Edit Service to allow Domain Name rather than IP Address

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Justin Clarke, Aug 5, 2010.

  1. Justin Clarke

    Justin Clarke Regular Pleskian

    22
    40%
    Joined:
    Mar 3, 2010
    Messages:
    117
    Likes Received:
    0
    Hi,

    Is it possible somehow to edit a firewall service and choose the option "Allow from selected sources, deny from others" and to enter a domain name rather than an IP address.

    When I try to add a domain name (a DynDNS one) it comes back with "Invalid IP address or network."

    Is there are workaround for this? I.e, editing a config file somewhere or something in the psa DB?

    Thanks.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    It is impossible, because Linux iptables can work only with IPs but not with hostnames.
     
  3. Justin Clarke

    Justin Clarke Regular Pleskian

    22
    40%
    Joined:
    Mar 3, 2010
    Messages:
    117
    Likes Received:
    0
    Thanks very much for that info.
     
Loading...