Splitting traffic & QoS in a VM

HavocXphere

Honorary Master
Joined
Oct 19, 2007
Messages
33,153
Reaction score
1,297
Location
Europe
Hi all

I'd like to run a linux system in VM on my Win8 PC & then route all the traffic from the Win8 OS through the VM.

I'd like to have:
  • Multiple PPPoE, with routing depending on destination IP
  • QoS by destination IP and port to max the line without killing browsing & prioritize various things.

Bonus points for:
  • Some type of ad-blocking by URL filter
  • Quota management for ADSL accounts
  • Fall over when a PPPoE link goes down/is capped
  • Logging & measuring sundry things

For various reasons I can't do the downloads from a *nix box. e.g. Steam doesn't work

As I understand it pointing the gateway of the Win8 OS at the VM IP should be sufficient to route everything through the VM (Thx pada).

I'm struggling with the VM side. As I see it I either roll my own Debian type solution or I use a IPcop/smoothwall/pfsense type thing.

Googling suggest that QoS on Debian is a mission so I opted for the firewall distro...except I can't get any of them to work at all. Even getting to the web interface isn't working reliably.

I think my troubles come from:
  • Not knowing how to set the 2x interfaces in virtualbox (bridge? NAT? Host-only?)
  • DHCP

It seems to me that the firewall distos don't like multiple PP**** though, so I might have to go the debian route anyway.:confused:

Advice would be appreciated.:)
 
Set up 2 network adapters in virtualbox,both bridged,turn off dhcp on 1,set up dhcp server on the vm,turn off dhcp on the router,set up vm as a gateway

Typed on my phone so these are abridged instructions
 
Top
Sign up to the MyBroadband newsletter
X