Open jamesntiff opened 7 years ago
Hi James,
Sorry for only reading this now. If you set another server / pc / client to this dns and then try to ping one of the dns settings what do you receive?
Geoffrey "bn_"
Thats ok its hard to get time to do things sometimes. This is output from powershell from the Win 8.1 host box. Im also using the installer script.
192.168.70.1 is Pfsense. 192.168.70.132 is fresh installed Ubuntu 16.04 Vm. The Vm is a static ip and 133 - 150 are DHCP just in case. I havent tried caching anything else other than PS4 as thats about the only thing ill be using it for.
PS C:\Windows\system32> Resolve-DnsName pls.patch.station.sony.com -server 192.168.70.1
Name Type TTL Section IPAddress
pls.patch.station.sony.com A 600 Answer 192.168.70.132
PS C:\Windows\system32> Resolve-DnsName pls.patch.station.sony.com -server 192.168.70.132
Name Type TTL Section IPAddress
pls.patch.station.sony.com A 600 Answer 192.168.70.138
PS C:\Windows\system32> ping 192.168.70.138
Pinging 192.168.70.138 with 32 bytes of data: Reply from 192.168.70.138: bytes=32 time=11ms TTL=64 Reply from 192.168.70.138: bytes=32 time<1ms TTL=64 Reply from 192.168.70.138: bytes=32 time<1ms TTL=64 Reply from 192.168.70.138: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.70.138: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 11ms, Average = 2ms
PS C:\Windows\system32> Resolve-DnsName pls.patch.station.sony.com -server 192.168.70.138 Resolve-DnsName : pls.patch.station.sony.com : This operation returned because the timeout period expired At line:1 char:1
+ CategoryInfo : OperationTimeout: (pls.patch.station.sony.com:St
ring) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : ERROR_TIMEOUT,Microsoft.DnsClient.Commands.Resol
veDnsName
From the Vm I can ping 8.8.8.8 but doesnt seem like anything else even apt-get can access the internet but before running the script I could. ens33 is vm adapter and ens33:1 - ens33:13 are virtual.
If you need any more information let me know. Been messing with this and still cant get it running.
Have you checked the logs for sony?
Hm ... Maybe try disable Web-Proxy on pfsense
I had the same problem with Opnsense
I just reinstalled Ububtu, ran the lc-installer, and this is what I get. Im also using a dedicated lan adapter. No error messages in the logs as far as I can see. Im not able to download anything with my PS4 as long as I have the resolver(unbound) in Pfsense set.
sry maybe dumb question but are you sure nginx is running ?
try to start it with service lancache start or /etc/init.d/lancache start
Yeah I've tried that. Reboot /etc/init.d/lancache start. Disable ufw. Tried forwarding ports. It has to be something simple I'm missing.
My suspision would be DNS resolution issues.
Namely PFsense set to direct requests to lancache, lancache is asking pfsense for dns resolution?
Try ensuring 8.8.8.8 or another external dns service is set as the lancache servers dns. Think thats in the notes.
I had an issue where the lancache couldnt resolve local devices by name, seemed to be fixed by running dhclient.
Ya, I'll give it a shot. Can't hurt forsure.
If you have a Transparent Web-Proxy Running on your Pfsense the lancache Will Not work 😒
I realy Hope this Is the problem 😃
Otherwise I have no idea 😢
Ok. So instead of vmware player I tried Hyper-V. I used my second Gb lan card and created a switch with everything unchecked and no extentions. Installed and updated Ubuntu 16.04 LTS. Ran the lc-installer script. I added prepend domain-name-servers 8.8.8.8, 8.8.4.4; to /etc/dhclient.conf and ran dhclient which restored internet access. Shutdown pfsense, the VM, and host machine. Boot order = Pfsense, Host box, Ubuntu Vm, sudo /etc/init.d/lancache start (removed lancache-microsoft.conf due to nginx errors.) Started PS4.
Pfsense Dns Resolver Custom Options (ive tried only pls.patch.station.sony.com by itself and various other configurations) also Dns Forwarder with the same domains. The domains are added to unbound.conf as well. The .134 is the virtual lan created by the script for sony. local-zone: "lancache-sony." redirect local-data: "lancache-sony. 600 IN A 192.168.70.134" local-zone: "sony.com." transparent local-zone: "pls.patch.station.sony.com." redirect local-data: "pls.patch.station.sony.com. 600 IN A 192.168.70.134" local-zone: "dl.playstation.net." redirect local-data: "dl.playstation.net. 600 IN A 192.168.70.134" local-zone: "dl.playstation.net.edgesuite.net." redirect local-data: "dl.playstation.net.edgesuite.net. 600 IN A 192.168.70.134"
It seems like it starts to work but downloads are very slow and its not serving whatever parts it MIGHT be caching. Also looks like it starts and stops at random. Ive also added google dns to the vm's dns in pfsense which didnt help as well. Im at a loss as what to try next. Download Max is 24mbps...
Tried again with vmware. Edited unbound, nginx, and dhclient. Fixed an issue with pfsense resetting states during high latency. Now after I download a game on my ps4 it works the first time but when I delete it and re-download the game it takes forever and the vm just stays at max incomming traffic even after I stop the download. This seems like a really easy install/setup but for whatever reason it will not work for me... Thanks for the help everyone.
@jamesntiff I'm currently rebuilding my config / setup as I'm also testing with the range cache so I will be testing if I encounter the same issues... If not I will close the issue
Awesome. Thank you
On Aug 23, 2017 8:20 AM, "bntjah" notifications@github.com wrote:
@jamesntiff https://github.com/jamesntiff I'm currently rebuilding my config / setup as I'm also testing with the range cache so I will be testing if I encounter the same issues... If not I will close the issue
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bntjah/lancache/issues/42#issuecomment-324311800, or mute the thread https://github.com/notifications/unsubscribe-auth/AcGdVRq6VkcqiQVuv5n0ZmBYNgrOZ3mTks5sbBkDgaJpZM4N7n4O .
Anything?
Just build a server for a cyberface (using an old computer freshly installed debian9)... wasn't easy.. step by step, you have to set up : 1\ dhcp server (set dns to your dns server) 2\ dns server(unbound is easy to use) 3\ nginx server 4\ update /etc/host and ethernet config (virtual interfaces), all nginx files according to your virtual interfaces
works for me
ok did fresh install of 8.7.1 64bit and used the install script
#fresh install debian 8.7.1 64bit #just install base system with ssh - no gui desktop#install from cd1 #need to enable sudo debian - and enter root password
su
#install sudo
apt-get install sudo
#access to sudo from normal user
usermod -a -G sudo "localuseraccountname"
#reboot box
#install git
apt-get install git
#get script files from url = https://github.com/bntjah/lc-installer https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fbntjah%2Flc-installer&sa=D&sntz=1&usg=AFQjCNEWh6ABYkXt5yBefpJHcXUPzqj30w#This script has been tested under Debian 8.6 amd64.
git clone -b master --recursive http://github.com/bntjah/lc-installer/ http://www.google.com/url?q=http%3A%2F%2Fgithub.com%2Fbntjah%2Flc-installer%2F&sa=D&sntz=1&usg=AFQjCNE17BfucxDaE-XWhWnu4yg0fEamLQ cd lc-installer chmod +x installer.sh sudo ./installer.sh
#reboot then done
On Sat, Sep 9, 2017 at 8:34 AM, cyrianox notifications@github.com wrote:
Just build a server for a cyberface (using an old computer freshly installed debian9)... wasn't easy.. step by step, you have to set up : 1\ dhcp server (set dns to your dns server) 2\ dns server(unbound is easy to use) 3\ nginx server 4\ update /etc/host and ethernet config (virtual interfaces), all nginx files according to your virtual interfaces
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bntjah/lancache/issues/42#issuecomment-328277667, or mute the thread https://github.com/notifications/unsubscribe-auth/APwRgZa2BsI4vF3s5FUwHp6l4OaOoG1Yks5sgpPYgaJpZM4N7n4O .
Ok thanks everyone for he help. Finally got it working just havent had time to post back. Thanks nexusofdoom, that worked after tweaking a few things.
Just wondering if any of this is normal. If I download a game thats say 1GB it will download about 3-4GB before its done and when downloading to another console after its finished most of the time it will still need to download around 25% or less from the internet.
Other thing is the initial download will max the connection but only pass a small amount to the ps4. Say 20mbps incoming and only 1-5 mbps outgoing to the console.
Any ideas or is this normal ?
Hi; Thanks for your post i follow all the steps and my interfaces name change to eth0 but after i follow the last four commands and reboot my computer then no interfaces appear anymore
I've followed everything to a T but it won't cache anything even when I set my ps4 dns to the server ip. Nothing at all in any logs. Also it borks normal internet as well but apt-get still works. Ubuntu 16.04. Any ideas ?