Is it possible?



  • when I disabled dhcp server on my wifi-router then reset the virtual machine, wan becomes blank, is it normal?.. I also enabled the captive portal and when I try to connect using my phone, it's directly connecting to the internet without authentication.. also can't access 192.168.1.1 (pfsense gui) using phone but I can access 192.168.1.2(dd-wrt gui)




  • when I disabled dhcp server on my wifi-router then reset the virtual machine,

    If the pfSense gets his WAN IP over DHCP this could be really going.

    wan becomes blank, is it normal?..

    Then enter in the WAN field of the pfSense a static IP address please, and this must be one from the
    IP range where the DD-WRT router is in.

    I also enabled the captive portal and when I try to connect using my phone, it's directly connecting to the internet without authentication..

    Is your VM host doing NAT?

    also can't access 192.168.1.1 (pfsense gui) using phone but I can access 192.168.1.2(dd-wrt gui)

    Is this DD-WRT "device" also a VM guest or a real device?



  • @BlueKobold:

    when I disabled dhcp server on my wifi-router then reset the virtual machine,

    If the pfSense gets his WAN IP over DHCP this could be really going.

    wan becomes blank, is it normal?..

    Then enter in the WAN field of the pfSense a static IP address please, and this must be one from the
    IP range where the DD-WRT router is in.

    I also enabled the captive portal and when I try to connect using my phone, it's directly connecting to the internet without authentication..

    Is your VM host doing NAT?

    also can't access 192.168.1.1 (pfsense gui) using phone but I can access 192.168.1.2(dd-wrt gui)

    Is this DD-WRT "device" also a VM guest or a real device?

    I should just let dhcp server disabled on my wifi-router or I should not?..
    I already enter an static ip address to wan (192.168.1.100)
    I set it bridged adapter
    dd-wrt is a real device, it's the wifi-router that I'm using right now

    please correct me if I made some mistake
    thank you.





    ![pfsense settings.jpg](/public/imported_attachments/1/pfsense settings.jpg)
    ![pfsense settings.jpg_thumb](/public/imported_attachments/1/pfsense settings.jpg_thumb)



  • I should just let dhcp server disabled on my wifi-router or I should not?..

    You can do but the WAN IP from the pfSense msut be a static one, that is outside of the
    DHCP pool from the DHCP server from the DD-WRT Router!

    I already enter an static ip address to wan (192.168.1.100)

    Then the DHCP IP range should be from 192.168.1.1/24 - 192.168.1.99/24 or
    192.168.1.101/24 to 192.168.1.254/24 so that the WAN IP from the pfSense is
    not inside of the IP range from the DHCP server from the DD-WRT!

    I set it bridged adapter

    Why? Is the VM also doing NAT?

    dd-wrt is a real device, it's the wifi-router that I'm using right now

    There comes the Internet in or?

    Internet –- ISP --- DD-WRT --- VM host --- VM with pfSense --- LAN
    If the DD-WRT is doing NAT and the VM host also and then on top the pfSense will be also doing NAT
    you get in trouble here.

    If the WAN IP Address of the pfSense is inside the DHCP IP Address range you will be also going into trouble.



  • @BlueKobold:

    There comes the Internet in or?

    Internet –- ISP --- DD-WRT --- VM host --- VM with pfSense --- LAN
    If the DD-WRT is doing NAT and the VM host also and then on top the pfSense will be also doing NAT
    you get in trouble here.

    my network setting is: internet > wifi-router > laptop where the virtualbox installed > VM with pfsense

    If the WAN IP Address of the pfSense is inside the DHCP IP Address range you will be also going into trouble.

    should I set the wan of pfsense to 192.168.1.3 or what?



  • I really don't know if it's nat or not  :o



  • what should I do if the external lan card cannot detect?.. should I install latest version of pfsense?.. I changed my setup onto stand-alone


  • LAYER 8 Netgate

    FreeBSD Hardware Compatibility List:

    https://www.freebsd.org/releases/10.1R/hardware.html



  • I don't need to install their drivers?


  • LAYER 8 Netgate

    You're better off just sticking to supported hardware.



  • @Derelict:

    You're better off just sticking to supported hardware.

    Exactly.
    Time to promote plan B to Plan A: make pfSEnse work on its own 'device'.
    Afterwards, when you 'manage' EXSI well, try to to 'visualize' the whole thing.



  • OP wants to learn/is being taught pfSense, hence the virtual setup. Dedicated HW is probably out of that scope.



  • @Derelict:

    You're better off just sticking to supported hardware.

    thank you sir..
    quick question, can I watch cached videos using wifi on pfsense without buffering it or this is applicable only on wired?


  • LAYER 8 Netgate

    That's more up to your Wi-Fi than pfSense.  pfSense doesn't care if you're wired or wireless.



  • could someone teach me how to layout properly my network?

    I'm doing this: ISP(internet) > (built-in lan) > old pc(with pfsense) > (external lan) > wifi-router(with dd-wrt) > laptop

    I set my built-in lan as wan interface and external lan as lan interface

    pfsense has blank lan when I start it up… please help me so that I'll be able to browse its gui and to enable the captive portal



  • @Amethz:

    quick question, can I watch cached videos using wifi on pfsense without buffering it or this is applicable only on wired?

    Strange question.
    "Videos"that only work when the connection si wired ?
    So when there is Wifi (radio) or Optical (fibre) in the path, there are problems ?
    Never heard about that one.

    Better stick to 'normal' devices and setup  ;D


  • Banned

    @Gertjan:

    "Videos"that only work when the connection si wired ?

    Perhaps they need the mighty Denon cable?  :D ;D :D



  • it is possible that I'll be the one who will assign voucher codes for pfsense?


  • LAYER 8 Netgate

    What?



  • I'm the one who will generate the voucher codes not the pfsense


  • LAYER 8 Netgate

    Not that I know of.  There's crypto involved that has to match up.  Why not let pfSense do it?  You can generate hundreds if not thousands at a time.  Take them, put them in a database, print cards, whatever, and hand them out by whatever means works for you.



  • Our adviser suggested that, so I asked if it's possible… thanks anyway :)



  • I'm planning to install the squid 3, is there any conflict between that and captive portal?.. what other package/s I should install to make my pfsense more useful? TIA



  • "Squid 3": don't know.
    "squid" was (is ?) breaking the portal - see the many (even more) subjects on this forum.
    YMMF.



  • another question, I set the dhcp range on lan to 192.168.1.2 to 192.168.1.10
    why is that some IPs connected to my lan is 192.168.1.100 and up?



  • Another DHCP server (on LAN) ?
    Static IP setting used by clients ?

    You saw the pfSense DHCP server logs ?



  • could I specify what's the error on voucher code?..

    1st: this voucher is being used by other device
    2nd: invalid voucher code (when they enter a wrong code)
    3rd: expired voucher (when there's no remaining time left)



  • @Amethz:

    1st: this voucher is being used by other device

    See GUI -> Captive portal -> Vouchers
    " If the voucher is used again from another computer, the previous session is stopped. "
    If some one passes his voucher code to some one else, he will loose the usage of it.
    So, don't worry, no one will 'loose' his voucher code.
    @Amethz:

    2nd: invalid voucher code (when they enter a wrong code)

    See GUI -> Captive portal -> Vouchers
    @Amethz:

    3rd: expired voucher (when there's no remaining time left)

    See GUI -> Captive portal -> Vouchers



  • thanks Gertjan.. what the problem about this, 1 voucher many users  :'(




  • load balancing is for multiple wan only?



  • @Amethz:

    1 voucher many users  :'(

    Or: one user (one person) but more then one device (SmartPhone, Pad, PC, whatever)



  • @Gertjan:

    @Amethz:

    1 voucher many users  :'(

    Or: one user (one person) but more then one device (SmartPhone, Pad, PC, whatever)

    it should be 1 voucher per 1 device only, do I need to reinstall my pfsense?



  • read what the image proposes.
    Note that 'user name' is the voucher code.




  • thanks! I thought it's because of power interruption why my voucher restriction is not working anymore



  • Dono.
    Devices like firewalls (pfSEnse, PC's, whatever) always run on UPS on 'my places'.



  • the answer is YES.
    im actually doing it. and also i use a wireless router after my pfsense and my devices redirects to captive portal (just not a dd-wrt tho)

    but still, i think pfsense will sill redirect devices to its captive portal.

    but to be sure, just turn off DHCP on your router then plug your pfsnse to one of your router's LAN ( again LAN not WAN) ports and you'll be good to go.


Log in to reply