PfSense to get WAN from another router



  • Hello everyone,

    Just got tired of my Router a while back. So I decided to make a pfSense box from an old computer. Works great!
    The only issue I have right now is that we have 2 houses on the premesis.

    House nr1 is my girlfriends parents house. They have the ADSL modem and a WiFi router. Between their house and our house, we have an ethernet cable going from their WiFi router.
    In our house we also have a Router (or had we now have pfSense). So our pfSense router will not actually be connected directly to the modem. It should obtain an IP adress from the WiFi router in house nr1. It gets a local IP as it should (192.168.2.26) but we can not access the internet through the pfSense router. Locally everything works fine.

    I've tried to google this setup, but doesn't seem to be any valid threads about it.
    Would appreciate some feedback.

    The pfSense computer has 2x NIC, one for WAN and one for VLAN. The VLAN is connected to our 8port Switch. We basically have exactly the same setup as with our old router. Except we not have pfSense doing the routing and the old router has DHCP turned off to act as a WiFi hotspot.

    Appreciate all help!



  • go to interfaces–>wan

    try unchecking "block private networks"



  • @heper:

    go to interfaces–>wan

    try unchecking "block private networks"

    Thanks for the reply. I tried that actually, got it from a YouTube video. I've watched like 10 videos of people installing this. And man I was feeling ready for this and tought it would be easy. But boy was I wrong  ::)



  • UPDATE:
    I can actually ping googles DNS servers from both my PC and the pfSense box itself. Tried several times to ping 8.8.8.8 with 100% success.
    So it seems like a DNS resolver issue? Because I can not access any websites, and I cant ping any URLs.



  • it might be a dns issue, but the default configuration of pfSense should get you working dns without any additional steps.

    you could look at the dns logs to see if there are an clue's, but i'm guessing there is something odd going elsewherE.



  • Okay mate.
    Here's my DNS logs, hope it's of any help.

    Dec 19 11:58:31 unbound 38592:0 notice: init module 0: iterator
    Dec 19 11:58:31 unbound 38592:0 info: start of service (unbound 1.5.9).
    Dec 19 12:05:24 unbound 38592:0 info: service stopped (unbound 1.5.9).
    Dec 19 12:05:24 unbound 38592:0 info: server stats for thread 0: 251 queries, 0 answers from cache, 251 recursions, 0 prefetch
    Dec 19 12:05:24 unbound 38592:0 info: server stats for thread 0: requestlist max 23 avg 11.243 exceeded 0 jostled 0
    Dec 19 12:05:24 unbound 38592:0 info: average recursion processing time 63.471683 sec
    Dec 19 12:05:24 unbound 38592:0 info: histogram of recursion processing times
    Dec 19 12:05:24 unbound 38592:0 info: [25%]=29.7143 median[50%]=66.4615 [75%]=98.4615
    Dec 19 12:05:24 unbound 38592:0 info: lower(secs) upper(secs) recursions
    Dec 19 12:05:24 unbound 38592:0 info: 1.000000 2.000000 1
    Dec 19 12:05:24 unbound 38592:0 info: 2.000000 4.000000 1
    Dec 19 12:05:24 unbound 38592:0 info: 4.000000 8.000000 2
    Dec 19 12:05:24 unbound 38592:0 info: 8.000000 16.000000 4
    Dec 19 12:05:24 unbound 38592:0 info: 16.000000 32.000000 21
    Dec 19 12:05:24 unbound 38592:0 info: 32.000000 64.000000 21
    Dec 19 12:05:24 unbound 38592:0 info: 64.000000 128.000000 52
    Dec 19 12:05:24 unbound 38592:0 info: 128.000000 256.000000 2
    Dec 19 12:05:24 unbound 38592:0 info: server stats for thread 1: 64 queries, 0 answers from cache, 64 recursions, 0 prefetch
    Dec 19 12:05:24 unbound 38592:0 info: server stats for thread 1: requestlist max 15 avg 6.29688 exceeded 0 jostled 0
    Dec 19 12:05:24 unbound 38592:0 info: average recursion processing time 71.814948 sec
    Dec 19 12:05:24 unbound 38592:0 info: histogram of recursion processing times
    Dec 19 12:05:24 unbound 38592:0 info: [25%]=30.8571 median[50%]=80 [75%]=104
    Dec 19 12:05:24 unbound 38592:0 info: lower(secs) upper(secs) recursions
    Dec 19 12:05:24 unbound 38592:0 info: 8.000000 16.000000 1
    Dec 19 12:05:24 unbound 38592:0 info: 16.000000 32.000000 7
    Dec 19 12:05:24 unbound 38592:0 info: 32.000000 64.000000 2
    Dec 19 12:05:24 unbound 38592:0 info: 64.000000 128.000000 20
    Dec 19 12:06:24 unbound 10309:0 notice: init module 0: iterator
    Dec 19 12:06:24 unbound 10309:0 info: start of service (unbound 1.5.9).
    Dec 19 12:07:07 unbound 10309:0 info: service stopped (unbound 1.5.9).
    Dec 19 12:07:07 unbound 10309:0 info: server stats for thread 0: 31 queries, 0 answers from cache, 31 recursions, 0 prefetch
    Dec 19 12:07:07 unbound 10309:0 info: server stats for thread 0: requestlist max 8 avg 4.45161 exceeded 0 jostled 0
    Dec 19 12:07:07 unbound 10309:0 info: server stats for thread 1: 10 queries, 0 answers from cache, 10 recursions, 0 prefetch
    Dec 19 12:07:07 unbound 10309:0 info: server stats for thread 1: requestlist max 6 avg 3.9 exceeded 0 jostled 0
    Dec 19 12:08:07 unbound 77875:0 notice: init module 0: iterator
    Dec 19 12:08:07 unbound 77875:0 info: start of service (unbound 1.5.9).
    Dec 19 12:08:10 unbound 77875:0 info: service stopped (unbound 1.5.9).
    Dec 19 12:08:10 unbound 77875:0 info: server stats for thread 0: 4 queries, 0 answers from cache, 4 recursions, 0 prefetch
    Dec 19 12:08:10 unbound 77875:0 info: server stats for thread 0: requestlist max 4 avg 2.25 exceeded 0 jostled 0
    Dec 19 12:08:10 unbound 77875:0 info: server stats for thread 1: 1 queries, 0 answers from cache, 1 recursions, 0 prefetch
    Dec 19 12:08:10 unbound 77875:0 info: server stats for thread 1: requestlist max 0 avg 0 exceeded 0 jostled 0
    Dec 19 12:09:09 unbound 34122:0 notice: init module 0: iterator
    Dec 19 12:09:09 unbound 34122:0 info: start of service (unbound 1.5.9).
    Dec 19 12:10:02 unbound 34122:0 info: service stopped (unbound 1.5.9).
    Dec 19 12:10:02 unbound 34122:0 info: server stats for thread 0: 40 queries, 0 answers from cache, 40 recursions, 0 prefetch
    Dec 19 12:10:02 unbound 34122:0 info: server stats for thread 0: requestlist max 11 avg 7.15 exceeded 0 jostled 0
    Dec 19 12:10:02 unbound 34122:0 info: server stats for thread 1: 14 queries, 0 answers from cache, 14 recursions, 0 prefetch
    Dec 19 12:10:02 unbound 34122:0 info: server stats for thread 1: requestlist max 8 avg 5.14286 exceeded 0 jostled 0
    Dec 19 12:10:36 unbound 17775:0 notice: init module 0: iterator
    Dec 19 12:10:36 unbound 17775:0 info: start of service (unbound 1.5.9).



  • UDATE:
    Restored pfSense to factory defaults. And the only thing I changed during the wizard was the time. As I live in Sweden I want Swedish time.
    I choose WAN and LAN as before. Same thing happens again. My Windows 10 icon tray says that I'm online. And I can ping any IP adress. But I can not ping any URL or access any URL in my browser.

    pfSense can ping any IP
    my computer can also ping any IP