Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The other day I setup a virtual machine running SmoothWall Express 3.0 under Hyper-V. If you are not familiar with this OS – let me be lazy and quote Wikipedia:
SmoothWall is a Linux distribution designed to be used as an open source firewall. Designed for ease of use, SmoothWall is configured via a web-based GUI, and requires little or no knowledge of Linux to install or use.
I wanted to play around with it to see if I could set it up as a filtering proxy; so I downloaded the installation ISO file and tried to install it in a Hyper-V virtual machine.
I created a virtual machine with 512MB RAM, a 127GB dynamically expanding virtual hard disk, 1 CPU and two legacy network adapters connected to different networks.
For the most part, it “just worked”. The installation was a very traditional Linux installation process (contrary to the Wikipedia quote above) and I only encountered two hiccups:
It did not detect my network adapters by default – and did not tell me that I had to go and kick the network detection routine. This lead to some confusion where I was trying to configure my public / private interfaces and it believed that it had no network adapters.
At first the system was failing to get a DHCP address from my DHCP server. On a hunch I checked the option to Enable spoofing of MAC addresses on the network adapters – as shown here:
Which seemed to solve the problem. However I was able to go back the following day and uncheck this option and have the system work correctly. I am not sure what really happened with that.
But I now have it up and running perfectly:
And it is functioning as a filtering proxy. Now I just have to wade through mountains of configuration files to actually get it to filter the right things :-)
Cheers,
Ben
Comments
Anonymous
May 10, 2010
And I just went and got a SonicWALL to throw in front of my Hyper-V server! Very neat idea.Anonymous
May 12, 2010
Do any of these Linux firewall appliances actually run successfully in "enlightened" mode under Hyper-V? It'd be a lot smoother, and probably, more performant if they did.Anonymous
May 25, 2010
Well I've setup untangle (in bridging mode) and have to have the checkbox checked (MAC Spoofing) but I haven't tried something as a Router with or without the setting yet.Anonymous
May 30, 2010
Andy - There are none that I know of. It should be possible to install the Linux integration service - but that would involve recompiling code - which is something that I am not allowed to do :-) Cheers, BenAnonymous
May 31, 2010
The comment has been removedAnonymous
June 06, 2010
my smoothwall doesnt show any graphical configuraions windows. and I am not very aware with linux commands.Anonymous
June 07, 2010
reza - Smoothwall is managed using a web browser on another computer. That said - I would like to ask that if anyone has questions about how to use smoothwall that they go to the smoothwall forums: community.smoothwall.org/forum Cheers, BenAnonymous
September 16, 2010
Could you be more specific about what "kick the network detection routine" means. How did you do it exactly?Anonymous
March 11, 2012
Hi, Does it supported by Microsoft on Hyper-V virtual machine ? Thanks Regards BGAnonymous
March 12, 2012
BG - Supported by Microsoft? Absolutely not, but it does work. Cheers, BenAnonymous
May 25, 2012
As Raith also asked, could you be more specific as to what you meant by having to "kick" the network detection routine?Anonymous
November 18, 2012
Just installed Smoothwall Express on a Hyper-V VM and ran across the NIC detection problem. Stopped the VM, removed the virtual NICs and replaced them with 'legacy' adapters. Now works a treat.