PDA

View Full Version : Lich and VPN



dyfed
05-15-2017, 03:35 PM
I am running MacOS Sierra 10.12.5 16F71b and the legacy version of Avalon, 4.1.5.

I'm currently using YASSE but I'd like to move to Lich.

The problem is that I am on VPN all the time, and for whatever reason, running Avalon and my VPN works, running Avalon and Lich works, but running Avalon, Lich, and being connected to my VPN at the same time doesn't work.

I can run Lich OK and it says it's listening on the correct port, but when I boot up Avalon and attempt to log in, it hangs at login with the error: "Problem: I didn't receive a valid response from the server." Lich appears to still be listening at this time, like the connection is being intercepted by the VPN before it reaches the Lich process.

Is there anything I can do with Lich to make it work while running my VPN? Is this a known issue, or have other people been successful using VPNs while running Lich?

Thanks for your time.

Donquix
05-15-2017, 03:50 PM
Only thing that it sounds like it could be is your VPN isn't allowing connectivity to the LAN. Look for an option in your VPN config to allow LAN access, allow local connectivity, etc. If your VPN network is using the same local IP range of your*LAN that may be causing confusion as well.

BigWorm
05-15-2017, 04:03 PM
Lich and your VPN are probably stepping on each other while updating your hosts file. Lich works by hijacking DNS resolution for the game server to point to your local computer. VPNs often update DNS to use their servers so that you don't leak all of your lookups onto the raw connection you probably intended to protect. Not sure how to easily work around this though as I have never had to deal with it.

SashaFierce
05-15-2017, 04:21 PM
I've been unable to use a VPN + Lich.

Sherlock
05-15-2017, 04:29 PM
I use PIA for a VPN and I've yet to have issues connecting with lich.

dyfed
05-15-2017, 04:32 PM
Sherlock: I am also using PIA. What OS are you running? Any special settings for Lich? What client?

Sherlock
05-15-2017, 04:34 PM
I'm on a mac. So I have the standard PIA client on the mac. And then I use VMware fusion with Windows 10 just for the game. Although, at one point I set PIA up at the router level and didn't have any issues on that as well.

dyfed
05-15-2017, 04:36 PM
edit never mind. Yeah I guess it is probably the fact you are using VMware that is the difference. You can redirect to localhost within the virtual machine and then redirect to VPN in real OS, I cannot without my VPN and Lich stepping on each other, maybe. That's my best guess anyway.

Astray
05-15-2017, 04:57 PM
Mudfish is a good VPN with no issues with Lich.

BigWorm
05-15-2017, 05:19 PM
You could also run the VPN upstream on your router instead of your laptop, but that's not a great option if you want to play on the go.

BigWorm
05-15-2017, 05:22 PM
Mudfish is a good VPN with no issues with Lich.

Hmm, I'd be pretty skeptical of any VPN touting improved performance over the underlying network. The VPN itself relies on that network for transport so would be very difficult to make meaningful improvements without violating the laws of physics.

SulienWaggles
05-15-2017, 09:43 PM
I don't think Lich works correctly with Avalon. Having gone through the Lich source code, it only knows how to launch StormFront and the Wizard FE. You would have to edit it to support that method of launching.

Gnomad
05-17-2017, 06:03 PM
I don't think Lich works correctly with Avalon. Having gone through the Lich source code, it only knows how to launch StormFront and the Wizard FE. You would have to edit it to support that method of launching.

http://i.imgur.com/lzSsIK3.png

m444w
05-17-2017, 06:15 PM
you should not be running lich with sudo.

any script that you ;trust will then have the ability to rm -rf /

Tillmen
05-17-2017, 11:01 PM
you should not be running lich with sudo.

any script that you ;trust will then have the ability to rm -rf /

Actually, Lich attempts to drop superuser privileges after messing with the hosts file and before any scripts can run. I don't actually know for sure if that works on Mac, but it does seem like the sort of thing that would work the same as Linux.

The real dangerous thing is running Ruby as admin on Windows, which everyone seems to be fine with for some reason.

SulienWaggles
05-22-2017, 09:27 PM
I sit corrected.