and BTW the OP made *a terrible* mistake by specify
192.168.2.0/8 because it contains much more than
private IP's (254 versus 16 Mio)
if the intention was the own used subnet 192.168.2.0/24
would be most likely what he really wanted or at least
/16 to not contain the following subnet which is not
a private one as a lot of others
NetRange: 192.255.128.0 - 192.255.255.255
CIDR: 192.255.128.0/17
OriginAS: AS54290
NetName: HOSTWINDS-17-2
NetHandle: NET-192-255-128-0-1
Parent: NET-192-0-0-0-0
NetType: Direct Allocation
Comment:
http://www.hostwinds.com
192.168.2.0/24 = private = 254 IP's
192.168.0.0/16 = private = 65534 IP's
192.168.2.0/8 = nonsense = 16000000 IP's
Am 02.07.2014 17:16, schrieb Reindl Harald:
Am 02.07.2014 17:10, schrieb Sudhir Khanger:
> On Wed, Jul 2, 2014 at 8:30 PM, Richard Z <rz(a)linux-m68k.org> wrote:
>> Hi,
>>
>> perhaps these firewall rules are useful to someone, works for me
>> when "192.168.2.0/8" is the local network where the Android device
>> connects.
>>
>> # firewall-cmd --permanent --add-rich-rule 'rule family="ipv4"
source address="192.168.2.0/8" port port="1714-1764"
protocol="udp" accept'
>>
>> # firewall-cmd --permanent --add-rich-rule 'rule family="ipv4"
source address="192.168.2.0/8" port port="1714-1764"
protocol="udp" accept'
>
> I am waiting for kde-connect-0.7. In spite of disabling firewalld,
> kde-connect keeps unregistering itself. Have you set your static ip to
> "192.168.2.0/8"?
192.168.2.0/8 is a range, not a IP and the accepted *source* range above
network basics are needed to deal with firewalls :-)
http://jodies.de/ipcalc
Address: 192.168.2.0
Netmask: 255.0.0.0 = 8
Wildcard: 0.255.255.255
Network: 192.0.0.0/8
Broadcast: 192.255.255.255
HostMin: 192.0.0.1
HostMax: 192.255.255.254
Hosts/Net: 16777214
whois:
NetRange: 192.168.0.0 - 192.168.255.255
CIDR: 192.168.0.0/16
OriginAS:
NetName: PRIVATE-ADDRESS-CBLK-RFC1918-IANA-RESERVED
NetHandle: NET-192-168-0-0-1
Parent: NET-192-0-0-0-0
NetType: IANA Special Use