xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 at least you found the problem, thanks man.. I just need to figure a way around it. Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 I tried setting them statically in unraid to other DNS but it keeps wanting to take the VPN dns.. Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 3 minutes ago, xman111 said: I tried setting them statically in unraid to other DNS but it keeps wanting to take the VPN dns.. Show once again "cat /etc/resolv.conf" Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 seems like no matter what I do in pfsense or unraid, always takes wrong DNS Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 would that DNS make it so i couldn't get to the web gui as well? i know it wouldn't be able to resolve internet names. Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 There must be something overwriting your DNS entries on your server. I just made a quick test on my backup server. root@ceres:~# cat /etc/resolv.conf # Generated DNSv4 entries: nameserver 8.8.8.8 nameserver 8.8.4.4 Try starting your server in safemode... Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 hey, in pfsense, under the general settings, that 10.4 number was there. I deleted it and now unraid takes the DNS number that i put in there. the only problem is i may have broken my VPN settings on my VPN network, i won't know until i can test it. Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 This is how my network.cfg file looks like (it is on your USB device under folder /config) # Generated settings: IFNAME[0]="br0" BONDNAME[0]="bond0" BONDING_MIIMON[0]="100" BRNAME[0]="br0" BRSTP[0]="no" BRFD[0]="0" BONDING_MODE[0]="4" BONDNICS[0]="eth0 eth1 eth2 eth3" BRNICS[0]="bond0" DESCRIPTION[0]="unRAID management" PROTOCOL[0]="ipv4" USE_DHCP[0]="yes" DHCP_KEEPRESOLV="yes" DNS_SERVER1="8.8.8.8" DNS_SERVER2="8.8.4.4" Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 1 minute ago, xman111 said: hey, in pfsense, under the general settings, that 10.4 number was there. I deleted it and now unraid takes the DNS number that i put in there. the only problem is i may have broken my VPN settings on my VPN network, i won't know until i can test it. But Unraid should not take the pfsense setting when "static" is configured. It would simply ignore that. Can you show me your network.cfg file? Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 (edited) ya it broke my DNS for my VPN network but maybe I can find a workaround. there must be another way. I can't thank you enough for figuring this out for me.. I have been driving my wife and kids nuts. hopefully this will fix the webgui issue as well. for sure i will grab show the file.. that would be even better. Edited September 7, 2018 by xman111 Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 here is my network config file.. # Generated settings: IFNAME[0]="br0" BRNAME[0]="br0" BRSTP[0]="no" BRFD[0]="0" BRNICS[0]="eth0" PROTOCOL[0]="ipv4" USE_DHCP[0]="yes" DHCP_KEEPRESOLV="yes" DNS_SERVER1="54.187.61.200" USE_DHCP6[0]="yes" DHCP6_KEEPRESOLV="no" SYSNICS="1" Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 I expected to see: DNS_SERVER1="8.8.8.8" DNS_SERVER2="8.8.4.4" Not sure from where the 54.x.y.z address comes. You are sure you did "Apply" to change network settings? Another question: does your VPN LAN (192.168.40.0) live in its own VLAN? Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 (edited) And the same question for your cameras network (192.168.50.0). Is it a separate VLAN on your switch? The reason I ask is if your pfsense router is set up as DHCP server for all the different networks, these networks must be isolated from each other, otherwise a device "sees" multiple DHCP servers. Edited September 7, 2018 by bonienl Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 here it is again.. i just switched Unraid back to automatically instead of static. here is with the static ip set. # Generated settings: IFNAME[0]="br0" BRNAME[0]="br0" BRSTP[0]="no" BRFD[0]="0" BRNICS[0]="eth0" PROTOCOL[0]="ipv4" USE_DHCP[0]="yes" DHCP_KEEPRESOLV="yes" DNS_SERVER1="8.8.8.8" DNS_SERVER2="8.8.4.4" USE_DHCP6[0]="yes" DHCP6_KEEPRESOLV="no" SYSNICS="1" Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 (edited) here is a picture of my pfsense general settings. i deleted the 10.4.0.1 out of the general DNS setting and now Unraid works but my VPN doesn't. And yes, all the VLANS are separate in pfsense and the switches. I tried putting back the 10.4.0.1 in the DNS setting and dropping down the list and picking AirVPN Wan but that didn't work. I am stoked though at least I know now where the problem was.. i was about ready to give up on unraid and throw the computer out the window. Edited September 7, 2018 by xman111 Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 I am not familiar with pfsense, but like you I have multiple networks separated by VLAN in my home environment. On my router/firewall I need to set up DNS (and DHCP) for each specific network (VLAN). I expect something similar on pfsense, but the screen you show looks like a general settings page. Not the location which I expected. Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 i will play around and find a work around. right now to me, unraid is more important than my VPN as i have all my new computer stuff coming in the next couple days. Thanks again for staying up and working through this with me, i would have NEVER been able to figure that out. you're a rock star!! Quote Link to comment
bonienl Posted September 7, 2018 Share Posted September 7, 2018 Not a problem. Ps. Your night is my day (I live in Europe) Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 haha, it's 2:30 am here in Vancouver. you have a wonderful day, hopefully somebody might learn something from this thread, i know I sure did.. thanks a lot bonienl Quote Link to comment
ken-ji Posted September 7, 2018 Share Posted September 7, 2018 You might also want to try turning off DHCP (set IPv4 address assignment to Static) and fill in the blanks. And like @bonienl thinks, you probably have VLANs bridged together thanks to the CISCO switches. If pfsense has a log for the DHCP requests, you will see the unRAID MAC address (as well as other devices) on all the other VLANs. Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 thanks Ken-Ji, will look into that, think I will set it to static so I can control it. thanks so much for your help. Quote Link to comment
ijuarez Posted September 7, 2018 Share Posted September 7, 2018 5 hours ago, xman111 said: here is a picture of my pfsense general settings. i deleted the 10.4.0.1 out of the general DNS setting and now Unraid works but my VPN doesn't. And yes, all the VLANS are separate in pfsense and the switches. I tried putting back the 10.4.0.1 in the DNS setting and dropping down the list and picking AirVPN Wan but that didn't work. I am stoked though at least I know now where the problem was.. i was about ready to give up on unraid and throw the computer out the window. I looked up getflix and their dns servers, one screenshoot you had of the unraid config showed and addy of 55.blah blah for dns that is getflixs' So since you are using DHCP and pfSense is handing out the ip you need to look at Services-DHCP Server- then click on the vlan that is 192.168.10.0. See mine called vlan10 under dns i have no servers, because im letting my gateway address also be my dns server for that vlan. my assumption is that under you setup you have a DNS address of getflix. Next i see you are using air vpn (the best VPN out there. just saying) let me ask you again are you forcing all of your traffic thru the vpn? i ask because in your above screenshot you have one of airvpns dns addresses and unless all of your traffic is going thru the vpn tunnel you it will not know were to go. My general setup also below in the image. my setup only has vlan20 using the vpn everything is using wan. and last i hate to ask but are your cisco switches setup with vlans? Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 hey, thanks for that info.. this is my task today, fix the VPN. Really appreciate that Ijuarez, since we have similar setups. I really realize i may be in over my head a little with the networking Quote Link to comment
xman111 Posted September 7, 2018 Author Share Posted September 7, 2018 Ijuarez, sorry buddy, i didn't answer your questions. oh and yes AirVPN is the best VLAN 10 is my management lan as well. I am not forcing all the traffic through the VPN, only if it is connected to VLAN 40 which is AirVPN LAN or VLAN 60 which is a wireless version of AIRVPN. I also have the 10 Network as an untagged network, i was told to set it up that way on the PFsense forum. All my switches are setup using VLANS. Here is a screen shot of the one in my bedroom. See how port 10 is the trunk port that carries all my VLANs to my bedroom. Port 8 and 9 are for cameras. Port 2 is if I want to connect to AIRVPN, and the rest are my regular LAN. i don't think i used the exact same guide as you, i used the one from the AirVPN forum here: https://airvpn.org/topic/17444-how-to-set-up-pfsense-23-for-airvpn/ BTW, it is so nice to always be able to reach the GUI now, so happy. Quote Link to comment
ijuarez Posted September 7, 2018 Share Posted September 7, 2018 (edited) that guide is a bit old pfSense fan did a great job but he had dropped for a while. Take a look at his he used the same switches as you i believe. I dont use a SG cisco but a 3750G and his guide worked perfectly pfsense guide Edited September 7, 2018 by ijuarez added more info 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.