rbwhe.blogg.se

Turn on terminal access in cpanel whm
Turn on terminal access in cpanel whm






turn on terminal access in cpanel whm

Enter ALL IP in the IP Address/CIDR text box.The rule will appear in the Current Rules table.Ĭreate a second rule that rejects access to ALL IP addresses with the following steps: Select the TCP protocol from the Protocol menu.Enter 192.168.0.0/24 in the IP Address/CIDR text box.

turn on terminal access in cpanel whm

  • Enter the port number in the Port text box.
  • To allow access for two IP addresses, but deny access from all other addresses, use either of the following methods:Ĭreate one rule that accepts 192.168.0.0/24 or 2001:0db8:0:0:1:0:0:1/64 with the following steps: The rule will appear in the Current Rules table and apply.

    turn on terminal access in cpanel whm

    Use the REJECT action to block the IP addresses in the range with a rejection message.Ĭlick Add Rule to add the rule. Use the DROP action to block the IP addresses in the range without a rejection message. Use the ACCEPT action to allow the IP addresses in the range to access the port. Select which action to take for the port from the Action menu. Select the TCP protocol or the UDP protocol from the Protocol menu.

    turn on terminal access in cpanel whm

    Because IPv6 uses 128-bit addresses, this will result in all IP addresses in the range of 2001:db8:abcd:0012:0000:0000:0000:0000 - 2001:db8:abcd:0012:ffff:ffff:ffff:ffff meeting the rule. IPv6 example: 2001:0db8:0:0:1:0:0:1/64 means that the first 64 bits of the requesting IP address must match the rule IP address. This will result in all IP addresses in the range of 192.168.0.1 - 192.168.0.254 meeting the rule. IPv4 example: 192.168.0.0/24 means the first 24 bits of the requesting IP address (the first, second, and third numbers in the IP address) must match the rule IP address. To add the CIDR subnet mask, add /NUMBER to your IP address, where NUMBER is the number of network bits that an IP address must match to be affected by your rule. You may apply your rule to multiple IP addresses by entering a comma-separated list of IP addresses or a CIDR subnet mask. You do not need to enclose IPv6 addresses in square brackets ( ). You may enter wildcards in this text box. To add a allow or deny a single IP address, comma-separated list of IP addresses, or CIDR subnet mask access to a service, perform the following steps:Įnter the port number in the Port text box.Įnter the IP address, CIDR subnet mask, or comma-separated IP address list in the IP Address/CIDR text box. You must enter your ACCEPT rules before your DROP or REJECT rules.








    Turn on terminal access in cpanel whm