Re: [Hampshire] ufw

Top Page

Reply to this message
Author: Ben Parsonage
Date:  
To: Peter B., Hampshire LUG Discussion List
Subject: Re: [Hampshire] ufw
I am not an expert but acordinng to the man page the long format appears to be
ufw <rule-type> <source-ip> to <dest-ip> <port|app> <port-no|app-name>

So this will allow a connection from Y to any destination on port X.

On 3 November 2017 14:57:02 GMT+00:00, "Peter B. via Hampshire" <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.
>>
>>
>>
>> Cheers
>>
>> Rob
>>
>> --
>> Please post to: Hampshire@???
>> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
>> LUG URL: http://www.hantslug.org.uk
>> --------------------------------------------------------------
>>


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------