Re: [qubes-users] [Newbie] RDP client unable to connect to server through vpn

2017-12-16 Thread entr0py-qubes
Gustavo Lapido Loureiro:
> I setup a vpn connection following tasket's Qubes-vpn-support. 
> (https://github.com/tasket/Qubes-vpn-support)
> 
> I was able to connect to the vpn remote server and browse its web server 
> content with Firefox.
> 
> However, when I try to use Remmina to connect to the remote rdp server, it 
> times out.
> 
> Is this something being blocked by the firewall?
> 
> I understand that this isn't some purelly Qubes issue, and it probably isn't 
> an issue after all, just some setting that should be tinkered (firewall?).
> 
> The point is that, with all these qubes I'm kind of lost where to start 
> debugging, what to change and where.
> 

If you want to tunnel your RDP connection through your VPN connection, then try 
connecting to the RDP server via its tun0 (private LAN) IP address. Example: 
openvpn's default subnet IIRC is 10.8.0.0/24 which means that the RDP server on 
your VPN server is listening on 10.8.0.1:3389.

Make sure your server is accepting incoming connections on port 3389. There 
shouldn't be any issues sending traffic out from Qubes.

-- 
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/82e8e0f6-d3cc-6133-5e8e-de69549d67ed%40riseup.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] vpn's log option

2017-12-13 Thread entr0py-qubes
charly LEMMINKÄINEN:
> Le mercredi 13 décembre 2017 15:55:39 UTC+1, Chris Laprise a écrit :
>> On 12/13/2017 08:38 AM, charly LEMMINKÄINEN wrote:
>>> is there any possibility to put a log option in the vpn scripts described 
>>> in the wiki? To know the reason why a vpn has been disconnected for example?
>>>
>>
>> You can use 'sudo journalctl' to see openvpn log activity.
>>
>> If you're experiencing disconnects and openvpn exits without trying to 
>> reconnect, you may need to comment-out the "persist tun" parameter in 
>> your config. This fixes it sometimes. If you're on Qubes 3.2 a more 
>> robust workaround is to use this service-based setup instead:
>>
>> https://github.com/tasket/Qubes-vpn-support
>>
>> This will ensure openvpn gets re-started anytime it exits.
>>
>> -- 
>>
>> Chris Laprise
>> https://github.com/tasket
>> https://twitter.com/ttaskett
>> PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886
> 
> I was more hoping about that : 
> https://askubuntu.com/questions/276664/where-are-the-openvpn-connection-logs-and-configuration-files
> so since there is no /var/log/syslog .I don't know the reason for that. Or is 
> in another directory? 
> Can I use the --log option in the rc.local ?
> 

You can send logs to any file you want (ie /var/log/openvpn).

Put `log `, `verb <1..5>` in your .ovpn/.conf openvpn configuration or

Use `--log ` & `--verb <1..5>` in your rc.local launch parameters.

-- 
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/bab48252-2475-a22f-c814-90917f6e71ee%40riseup.net.
For more options, visit https://groups.google.com/d/optout.