UPDATE: Ok, here's my new setup. I read that you have to have 2 network adapters, but read wrong and realized you need ONE physical adapter and ONE virtual one (2 total).
So here is my updated setup (currently trying PFSense, but in essence the same setup, must be shared code):
> DSL Cable + Router (combo from ISP) @ 192.168.1.1 (DMZ to 192.168.1.3; DHCP enabled)
>> Router @ 192.168.1.1 (DHCP disabled, WiFi enabled)
>>> Server @ 192.168.1.25 (Running virtualbox of pfsense)
>>>> PFSense @ 192.168.1.3 (WAN) / 192.168.0.1 (LAN, virtual)
I thought I should be able to access PFSense via 192.168.1.3, but it's timing out and pings are not working, either..
A few notable mentions:
> When I try to setup WAN to dhcp, the web server ends up being
http://dhcp/ ..odd...
>> When I try to setup WAN, after IP+mask, it says "Enter the new WAN IPv4 upstream gateway address".. what IS this? Google doesn't have much.. must be a new addition (it's not in youtube tutorials). It requires it, it seems. I'm not sure what to put.
ORIGINAL POST:Ok too many guides are saying different things, and I've tried many combos, so I'm rather confused.
First, my setup:Windows 7 x64, using Virtualbox, running latest m0n0wall.
2 physical NIC cards:
WiFi + physical connection . Say, server on 192.168.1.25 and router 192.168.1.1
(physical goes to router, for now, but I can remove it if it's causing issues... I feel that issues should come LATER. If anything, I thought I should at least be able to access the web interface..)
In
virtualbox, I have 2 network adapters:
NAT (default settings) + Bridged Adapter (wifi adapter)I installed to virtual HD >> interfaces, I set
LAN to em0 and
WAN to em1.
I set up m0n0wall LAN ip address to 172.21.0.1/16 (option #2's setup),
Now I can ping 192.168.1.25 (windows server), but I can't ping back (and the web config page times out), "destination host unreachable". I'll try a local address after this post and edit if something changes, but I really think it has something to do with my virtualbox network interfaces.
Every guide says something different, so I tried to desperately try random combinations
Again, still testing as I type this, and will edit progress. I hope it's just something stupid I missed.
PS -- I read something about setting a VB adapter to "host only"? If I did that, I'd have 3 adapters..?
Eh..
Help
Thanks mates