linuxmint / warpinator

Share files across the LAN
GNU General Public License v3.0
1.17k stars 81 forks source link

nordvpn issue #163

Open caiotizio opened 1 year ago

caiotizio commented 1 year ago

i'm running linuxmint 21.1. when nordvpn is up warpinator isn't visible to other lan devices. nordvpn is set to whitelist the local subnet. other apps works fine. warpinator get the vpn server ip instead of local one. Schermata del 2023-02-18 15-25-58

`dr@asus:~$ ifconfig enp4s0f1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Loopback locale) RX packets 7852 bytes 1014565 (1.0 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 7852 bytes 1014565 (1.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

nordlynx: flags=81<UP,POINTOPOINT,RUNNING> mtu 1420 inet 10.5.0.2 netmask 255.255.255.255 destination 10.5.0.2 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) RX packets 21400 bytes 27228224 (27.2 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 11818 bytes 1616632 (1.6 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.19 netmask 255.255.255.0 broadcast 192.168.1.255 ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 187047 bytes 218327239 (218.3 MB) RX errors 0 dropped 6 overruns 0 frame 12982 TX packets 120973 bytes 27441657 (27.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 18
`

caiotizio commented 1 year ago

i found how to change the connection interface but still doesn't connect

ravenn37 commented 10 months ago

Same issue here. When connected to nordvpn, Warpinator will eventually discover devices but will not connect to them, showing "Waiting for two-way connection" and "Unable to connect" repeatedly. Devices are on the same network and can ping each other. Disconnecting from the VPN fixes the problem. Interestingly, when file transfer is already running, you can connect to nordvpn and the transfer will continue.

I found a simple workarond that allows you to use Warpinator without disconnecting the VPN:

# Create a group called warpinator
sudo addgroup warpinator
​
# Add yourself to the group
sudo adduser $USER warpinator
​
# Create iptables rule for the group that overrides nordvpn rules
sudo iptables -I OUTPUT 1 -m owner --gid-owner warpinator -j ACCEPT
​
# To run warpinator, execute:
sg warpinator -c warpinator

Now go to Preferences → Connection and select your intended network interface to use.