xman111 Posted September 2, 2018 Share Posted September 2, 2018 (edited) Hey guys, just got Unraid up and running but it doesn't connect to the internet.  I am running PFsense but without any plugins so i don't know if that complicates things. If i go to terminal, i can ping 8.8.8.8 and 8.8.4.4. I try to paste the community app link into plugins and it says network failure.   I am thinking it is a DNS thing as I can ping when i use numbers.  Any help would be so much appreciated, i am now at a stand still. Edited September 2, 2018 by xman111 Quote Link to comment
Squid Posted September 2, 2018 Share Posted September 2, 2018 Is your gateway set correctly? Alternatively, github could be blocked from your physical location (Iran / China maybe). You can always forgo pfSense as a test and see how things work without that complication and then work backwards. Quote Link to comment
xman111 Posted September 2, 2018 Author Share Posted September 2, 2018 (edited) 2 minutes ago, Squid said: Is your gateway set correctly? Alternatively, github could be blocked from your physical location (Iran / China maybe). You can always forgo pfSense as a test and see how things work without that complication and then work backwards. Hey Squid, i am in Vancouver, Canada, should be no blocking. My gateway is pointing to pfsense 192.168.10.1.  I also added a screenshot of my network settings  Edited September 2, 2018 by xman111 Quote Link to comment
Frank1940 Posted September 2, 2018 Share Posted September 2, 2018 Try putting either 8.8.8.8 or 8.8.4.4 in as the   'DNS server2:' entry and see if that helps. Quote Link to comment
xman111 Posted September 3, 2018 Author Share Posted September 3, 2018 hey guys, got this working. The only way it would work was by adding a route. The only problem is upon reboot, this is gone. Anyway to make this stick when rebooting?   Quote Link to comment
xman111 Posted September 4, 2018 Author Share Posted September 4, 2018 hoped it was a browser issue with the route not saving in chrome. Tried Firefox, same thing. After reboot, no internet connection until i add route. Anyone? Quote Link to comment
xman111 Posted September 5, 2018 Author Share Posted September 5, 2018 anyway to add the route to the network config file on the flash drive? Quote Link to comment
Squid Posted September 5, 2018 Share Posted September 5, 2018 Its a @bonienl question, if he missed this thread. Quote Link to comment
xman111 Posted September 6, 2018 Author Share Posted September 6, 2018 this is what was posted in another thread, can you help Squid?  There's no way other than: * to put the route commands inside go file * use the user scripts plugin and add a script with the route commands to run on array startup  FWIW the route command you want is like /sbin/ip route a 192.168.3.0/24 via 192.168.2.4 Quote Link to comment
Squid Posted September 6, 2018 Share Posted September 6, 2018 Edit /boot/config/go and add the appropriate line, or install the User Scripts plugin and create a script that does the same thing set to run at first array start Quote Link to comment
xman111 Posted September 6, 2018 Author Share Posted September 6, 2018 thanks squid, will try that.  Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 (edited) added the line, it makes the change on boot, but still no internet. it shouldn't be this difficult.  if i go in after it is booted and enter the same line in routing, it works, even though it is in there twice. Edited September 7, 2018 by xman111 Quote Link to comment
ken-ji Posted September 7, 2018 Share Posted September 7, 2018 On 9/4/2018 at 1:45 AM, xman111 said: hey guys, got this working. The only way it would work was by adding a route. The only problem is upon reboot, this is gone. Anyway to make this stick when rebooting?   This rule should not be necessary at all. Can you describe / diagram your network setup? Its kinda weird that you need to talk to the gateway to reach your LAN subnet. Quote Link to comment
ijuarez Posted September 7, 2018 Share Posted September 7, 2018 What the config on pfsense for this subnet, what version of pfsense, are you using DNS resolver or DNS forwarder?Sent from my BND-L34 using Tapatalk Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 thanks so much guys for even trying to help me. It is very frustrating.  I just bought a i5-8500, z370 motherboard, and LSI serial card all for unraid, just want to get this working.  Here is a bit of an older diagram of my network.  Everything was installed new when we built our house a year ago. It is a little complicated but works awesome.  Not sure if it is a pfsense issue or unraid as all my other machines work great.   Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 here is my pfsense page.  Have a kick ass computer for it too, i5, 16gb, ssd, still no worky   Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 here is my DNS page.. i did notice something in there about pfblocker but it is turned off, could that be an issue? Â Â Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 1 last thing while I am thinking about it. Sometimes when i try to connect to the webgui it says connection denied but if i go on my laptop on a different subnet it can connect. My home computer and server are both connected right beside each other on a Cisco switch in my bedroom, server is 192.168.10.100 and my PC is 192.168.10.11. From what i understand, since they are on the same subnet, pfsense shouldn't even be involved.  Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 (edited) right now I am trying to connect to unraid from my computer right beside it, on the same subnet and Cisco switch and get this. But i hop on my laptop on my wireless subnet at 192.168.20.15 and it connects right away.  Hope there is a network guru here  Edited September 7, 2018 by xman111 Quote Link to comment
ijuarez Posted September 7, 2018 Share Posted September 7, 2018 I see your using nvguru guide, so do I.So on your main page you have the localhost as a DNS server and the airvpn dns. So unless your forcing all of your Lan traffic thru air it doesn't know where to go. The setup is set to block all DNS unless it comes from the pfsense box so putting Google's DNS wouldn't work. I have under general an openic dns and cloudflare. My vpn subnet uses air's dns. However my server in not in the land subnet but a management vlan. Sent from my BND-L34 using Tapatalk Quote Link to comment
ken-ji Posted September 7, 2018 Share Posted September 7, 2018 6 minutes ago, xman111 said: right now I am trying to connect to unraid from my computer right beside it, on the same subnet and get this. But i hop on my laptop on wireless at 192.168.20.15 and it connects right away.  Hope there is a network guru here  This definitely means you have an issue with how the SG300-28 is working with the LAN / vs VLANs are the ports tagged properly? is the native VLAN, the LAN? run this from your desktop and from unRAID. (use unRAID ip / desktop ip respectively) ping -n 20 192.168.10.x tracert 192.168.10.x tracert 8.8.8.8 tracert 192.168.20.15  Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 (edited) ken-ji,  i was a little confused on the exact commands you want me to do. sorry, i am pretty good with networking but had a little help setting it all up.  also these two computers (desktop and server) are attached to a SG300-10 in my bedroom. Port 10 is a trunk port that brings in all my Vlans into my room so i can assign each port to whatever vlan i want. All the ports are tagged VLAN 10 untaged (which is my lan network) except one, which is tagged 40 which is my VPN, so if i want to connect to AirVPN, i just plug the computer into port 2 instead of port 1. Edited September 7, 2018 by xman111 Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 (edited) 24 minutes ago, ijuarez said: I see your using nvguru guide, so do I. So on your main page you have the localhost as a DNS server and the airvpn dns. So unless your forcing all of your Lan traffic thru air it doesn't know where to go. The setup is set to block all DNS unless it comes from the pfsense box so putting Google's DNS wouldn't work. I have under general an openic dns and cloudflare. My vpn subnet uses air's dns. However my server in not in the land subnet but a management vlan. Sent from my BND-L34 using Tapatalk   yes I used that guide. As for the DNS  under >services >dhcp server >lan  I enter my dns in there, i think it is basically an override.. I use GetFlix which is a monthly service that gets my kids US Netflix from Canada. It seems to work because any computer i plug into the lan, i can go onto GetFlix's website and it verifies you are using their DNS so you can use their unblocking services.  It's probably something stupid. Would like to try ken-ji's stuff but was a little confused.  I have been working on this all week. I have all my computer parts on order and still have to figure out how to run Windows VM to record all my cameras with Blue Iris and get plex going for all my media.  Windows is a hell of a lot easier. Edited September 7, 2018 by xman111 Quote Link to comment
ijuarez Posted September 7, 2018 Share Posted September 7, 2018  yes I used that guide. As for the DNS  under >services >dhcp server >lan  I enter my dns in there, i think it is basically an override.. I use GetFlix which is a monthly service that gets my kids US Netflix from Canada. It seems to work because any computer i plug into the lan, i can go onto GetFlix's website and it verifies you are using their DNS so you can use their unblocking services.  It's probably something stupid. Would like to try ken-ji's stuff but was a little confused.  I have been working on this all week. I have all my computer parts on order and still have to figure out how to run Windows VM to record all my cameras with Blue Iris and get plex going for all my media.  Windows is a hell of a lot easier.Ok, so try to ping your unraid from pfsenseDiagnostics-pingSee if it repliesAs far as ken-ji request your need to login into to your unraid via ssh or terminal via the webgui Sent from my BND-L34 using Tapatalk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.