friends n ip netmask [t]

This command is used to setup the modem's firewall friends list, which is used to block incoming packets from an IP address that is not specifically enabled.
Use this to define a range of IP addresses whose traffic you wish to be accepted by the modem.

n = 1 to 8Friends list number
ip = 0.0.0.0 to 255.255.255.255IP address/range to allow
netmask = 0.0.0.0 to 255.255.255.255Netmask of addresses to allow
t = 0Control access to INPUT
t = 1Control access to FORWARDING
t = 2Control access to both INPUT and FORWARDING

Notes:


Examples:

  1. Allow only incoming requests from the IP address 1.2.3.4 to access the modem :
    cmd friends 1 1.2.3.4 255.255.255.255
  1. Allow only incoming requests from the 1.2.3.x subnet to access the modem :
    cmd friends 2 1.2.3.0 255.255.255.0
  1. Disable the friends list entry and allow all IP addresses to access the modem (default) :
    cmd friends 1 0.0.0.0 0.0.0.0

See also: DMZ, Port Forwarding


Firmware revision 2.0.4.2658

Last modified 7 years ago Last modified on 12-12-28 04:15:42 PM