Fmstrat / winapps

Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.
8.48k stars 406 forks source link

Host VPN breaks RDP connection to Windows guest #198

Open marbetschar opened 3 years ago

marbetschar commented 3 years ago

I installed WinApps and its working quite well so far. Only thing I noticed is, whenever I'm connected to a VPN on the Linux host using ipsec, the RDPWindows VM claims there is no network/internet connection available.

According to the output of bin/winapps check this also breaks RDP connections to the VM, therefore starting any Windows application from the Linux host while connected to the VPN does not work:

$ ./bin/winapps check
[10:48:00:413] [56779:56780] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[10:48:00:413] [56779:56780] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[10:48:00:413] [56779:56780] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[10:48:00:413] [56779:56780] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[10:48:00:413] [56779:56780] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[10:48:00:413] [56779:56780] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[10:48:00:728] [56779:56780] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[10:48:00:729] [56779:56780] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:48:00:729] [56779:56780] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[10:48:15:743] [56779:56780] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[10:48:15:743] [56779:56780] [ERROR][com.freerdp.core] - failed to connect to 192.168.122.62

FWIW, this is the VPN connection configured in /etc/ipsec.conf:

conn www.my-domain.tld
    keyexchange=ike
    dpdaction=clear
    dpddelay=300s
    eap_identity=my-user@my-domain.tld
    leftauth=eap-mschapv2
    left=%defaultroute
    leftsourceip=%config
    leftdns=%config4
    right=www.my-domain.tld
    rightauth=pubkey
    rightsubnet=0.0.0.0/0
    type=tunnel
    auto=add
sibley commented 3 years ago

Hello,

Just wanted to chime in and say I am having this issue as well. My install is Linux mint 20.1, cinnamon 4.8.6, and I am using the cisco anyconnect VPN. I'm happy to add any config information you'd like to help with the problem.

Thanks for the app!

vitor-alves commented 2 years ago

I have the same issue.

Using Cisco Anyconnect VPN as well