I need help accessing pfSense via my browser



  • I've installed the latest stable version of pfSense in VirtualBox running on Ubuntu 16.04. However it doesn't seem to be connected to the internet at all.
    )
    Here you can see my attempt to ping reddit.com. host reddit.com lists 151.101.193.140 at the top, when I ping it, it responds, but inserting it directly into my browser doesn't work. Now I am more confused than ever.

    When I want to access the server via my browser I can use the LAN IP address it provides and enter it to my browser (respecting the port number obviously). But that doesn't work either. Am I missing something? According to the guides I followed this shouldn't be happening.

    Maybe this could be of help to you:

    Thanks in advance for any help.


  • Rebel Alliance

    You can't have WAN & LAN on same Network segment

    There is a Forum section dedicated to: "Virtualization installations and techniques " take a look there…



  • @ptt:

    You can't have WAN & LAN on same Network segment

    I haven't changed anything, just selected the "Quick/Easy Installation" option. Do you think the option 2 in the menu "Set Interface IP address" should fix my problem? Can the IP address I choose be completely arbitrary?



  • @ptt:

    There is a Forum section dedicated to: "Virtualization installations and techniques " take a look there…

    I don't think this is an issue cause by the virtual machine.


  • Rebel Alliance

    i don't know, but at that section you can search/learn how to configure your "virtual pfSense"  ;)



  • LAN is set to 192.168.1.1/24 by default and the same range is handed out by DHCP to your WAN.
    Easiest fix is to change DHCP range to something different



  • @SlowerPhoton:

    Can the IP address I choose be completely arbitrary?

    No.
    -not in the same range your WAN is in
    -use private IP space (RFC1918) only.
    https://tools.ietf.org/html/rfc1918
    https://en.wikipedia.org/wiki/Reserved_IP_addresses

    Use a /24 subnet for your LAN from either 10.0.0.0 or 172.16.0.0 or 192.168.0.0


  • Rebel Alliance

    Just done a quick test, and is working for me…

    Please review your VirtualBox & Network settings.

    If you want "specific" answers, please provide more details about your setup & which is your intended goal.








  • Thank you for your help, I really appreciate it.

    I have Ubuntu 16.04 and VirtualBox installed on it. There is only one virtual machine on the VirtualBox - pfSense. I got rid off of WAN (I don't think I need it personally) by choosing the second option Set Interface IP addresses and I just didn't set the WAN IP address. Now when I put "192.168.1.1" in Chrome in the Ubuntu it communicates with the router instead, I think. That's why I decided to change the LAN IP address. These are my settings now:

    But it still doesn't work.

    I am not sure what info I can give you - I don't know much about pfSense or networking and I don't know what is important. I also don't know what most of those menu options in pfSense mean, the guide wasn't too helpful for someone who knows nothing about servers. If there is anything specific you want to know, just tell me.

    En espanol:

    Agradezco mucho tu ayuda.

    He instalado VirtualBox en mi Ubuntu 16.04. Solo hay una maquina virtual (VM) en el VirtualBox y esa es pfSense. Creo que no voy a necesitar WAN y por eso me deshice de eso usando le segunda opción en el menu - Set Interface IP addresses. No entre ninguna dirección IP. Ahora cuando entro "192.168.1.1" en Chrome en mi Ubuntu creo que comunica con mi enrutador asi que decidí cambiar la dirección IP de LAN. Aquí puedes ver mi configuración ahora:

    Pero no funciona.

    No se que mas quieres que te diga - no se mucho de pfSense o de redes en general y no se que es importante.  Tampoco se que significa la mayoría de las opciones en menú. SI se te ocurre algo mas que pueda poner aquí, pregúntame.


  • Rebel Alliance

    Sorry, my english skills aren't good enough to guide you (I'm from Argentina and here we speak Spanish).  :(



  • @SlowerPhoton:

    …I got rid off of WAN (I don't think I need it personally)

    How do you want to use pfSense / what do you think it is or does?



  • @jahonix:

    How do you want to use pfSense / what do you think it is or does?

    Eventually I want to set it up as a server for filtering HTTPS using Squid.



  • @ptt:

    Sorry, my english skills aren't good enough to guide you (I'm from Argentina and here we speak Spanish).  :(

    No te preocupes, si quieres puedes hablar en espanol conmigo. Tambien te lo traduje a espanol (castellano - espero que me perdonas, lamentablemente no hablo argentino, boludo). Perdona los errores gramáticos por favor.


  • Rebel Alliance

    You need to learn networking Basics, which is out of this forum scope.

    Sorry but i'm out of this topic.



  • Basically, pfSense is a router which means it routes traffic from one subnet (e.g. WAN) to another (e.g. LAN) and vice versa. With only one interface it can do stuff like serving DHCP addresses but obviously it cannot route.

    Filtering HTTPS means you have to implement a man-in-the-middle scenario to see and filter traffic which usually is encrypted (hence HTTPS). Good luck with such a task in general and your given networking skill-set on top.

    Advise of the day: start small!
    Use pfSense as a router and firewall, add packages as needed and learn about networking. That's enough to keep you busy at least until this winter.