Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Can be either [tcp] or [udp]
  • e.g. [tcp,98.10.84.187/32,22;]

 


IP Range

  • The IP address to allow connections from
  • To allow a connection from a specific IP address, add enter it like: [98.10.84.187/32]
  • To allow a connection from any IP address, use [0.0.0.0/0]

...


Port Range

  • The port number or range to open
  • Can be a single port or a port range
  • To open a single port, just enter the port number. [22]
  • To open a range, use a hyphen to separate the starting and ending ports. [5900-5910]

...


Examples

  • To allow SSH (port 22) to all IP addresses: [tcp,0.0.0.0/0,22;]
  • To allow VNC (ports 5900 through 5910) to 98.10.84.187: [tcp,98.10.84.187/32,5900-5910;]
  • To create several rules at once:

...