suggests "any" in this context means any destination IP address (given
that there may be many associated with a host): > *Allow by specific port, IP address and protocol*
> sudo ufw allow from <target> to <destination> port <port number> proto
> <protocol name>>
> *example: allow IP address 192.168.0.4 access to port 22 using TCP** *> > sudo ufw allow from 192.168.0.4 to any port 22 proto tcp
On Fri, 3 Nov 2017, at 14:57, Peter B. via Hampshire wrote: > From any port on y Maybe?
> On 3 Nov 2017 14:53, "Rob Malpass via Hampshire"
> <hampshire@???> wrote:>> Hi all__
>> __ __
>> Simple question (I hope). If I’m opening port x from ip address y
>> on my network with the following command__>> __ __
>> sudo ufw allow from y to any port x__
>> __ __
>> …then where does the “any” come from? Anyone know? Seems strange
>> to say “any port” then list the port number – unless I’ve
>> misunderstood the rule.__>> __ __