Re: [qubes-users] Anyone have any luck setting up KDE Connect or another Android-sync tool?

2017-10-30 Thread Sudomain
@[799] Thank you for the links. I've read through them and I understand 
iptables a bit better now, but unfortunately I still haven't been able to get 
this to work. I've created rules for both tcp and udp on ports 1714:1764 (per 
the KDEConnect troubleshooting doc I originally linked to). I tried doing this 
by following the Qubes documentation on port forwarding to appvm's, but 
substituting ip addresses that sys-net and sys-firewall gave me using:
ifconfig | grep -i cast

I'm positive that I used the correct ip's and interface names. There's just so 
many moving parts to this (sys-net, sys-firewall, iptables, KDEConnect, my 
router and phone) that it's hard to tell where it's breaking. Is there a way to 
tell if sys-net (and also sys-firewall) is routing the packets properly?
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b535b7aa-af7a-4c35-ae34-952afca05422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AW: [qubes-users] Anyone have any luck setting up KDE Connect or another Android-sync tool?

2017-10-24 Thread '[799]' via qubes-users
Hello,

You can use iptables to manipulate the firewall within the AppVM.
Additionaly you might need to edit sys-firewalls firewall.
Do you have information about the IP addresses of your Android phone and the 
AppVM you want to use?

Using IPtables is really easy and it makes sense to look through the existing 
documentation.
And it makes sense to understand how a firewall is working as it is part of 
your line of defense.

Read this documents:

https://devopscube.com/iptables-tutorial-beginners/

https://www.howtogeek.com/177621/the-beginners-guide-to-iptables-the-linux-firewall/

And I like this one, as it explains not only the commands:
http://www.pinoylinux.org/tutorial/the-beginners-guide-to-iptables-the-linux-firewall/

You need to allow traffic on the INPUT and OUTPUT chain as you want incoming 
and outgoing traffic.

Hint: To allow a port range you could add something like this:

Example: allowing incoming TCP traffic on ports 1000-2000 from any IP address.
iptables -I INPUT -p tcp --dport 1000:2000

I would suggest start with a simple rule and harden it by replacing it with 
source & destination options, so that only specific traffic is allowed.

I have started to built my own iptables rules, by deleting everything and 
rewrite from scratch what I need.

If you have any question or need help after reading some of the above links, do 
not hesitate to contact me ;-)

[799]

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d372Yw7Kiir_UX6vw4GiJcWdX7Gn2oN6SMcFzB8YWgmO0rNRgCKs_jB86AZvDO2AU5FPanZXF6fpIBOy2CrLMxQU-R97VQ7o9XOAmLN3oPA%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Anyone have any luck setting up KDE Connect or another Android-sync tool?

2017-10-23 Thread 'Sudomain' via qubes-users
I've been trying to connect my android device to an appVM without any luck. I'm 
sure it's a firewall issue, so I tried setting up port forwarding using these 
instructions: 
https://www.qubes-os.org/doc/firewall/#port-forwarding-to-a-qube-from-the-outside-world
Forgive me, but I'm not very familiar with iptables. I'm not sure what kind of 
rules I would have to setup to get this working. According to the KDE Connect 
wiki: "KDE Connect uses dynamic ports in the range 1714-1764 for UDP and TCP. 
So if you are behind a firewall, make sure to open this port range for both TCP 
and UDP. Otherwise, make sure your network is not blocking UDP broadcast 
packets." (source: 
[https://community.kde.org/KDEConnect#Troubleshooting)](https://community.kde.org/KDEConnect#Troubleshooting)
 I would greatly appreciate any help with getting this to work or a working 
alternative. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/mxbgRExR-LpUTCc3jCfgVleMO2xUj4Xe0X5vVnJsGDxLaPAe-LKh-sa-A2uHm1F8-TW_LOrxkkq9XJCaOcAMK97rwfPIlisfS9JJZ4XNFIk%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.