Force Firefox to use WLAN, while Chrome uses LAN

ChickenFeet

Honorable
Dec 30, 2013
11
0
10,510
I am trying to force Firefox to use the wireless network, while Chrome uses a USB tethered LAN. I have blocked all outbound and inbound traffic and created special rules for Firefox and Chrome.

Firefox rules:
(inbound / outbound) Allow connections over wireless networks only

Chrome rules:
(inbound / outbound) Allow connections traffic over local area networks only

Firefox works fine if USB tethering is disabled, but once I enable it, Firefox tries to use it. However my firewall is preventing Firefox from using it, as it only has permissions to use wireless.

Chrome on the other hand works fine.

If I switch the roles, Chrome uses WLAN while Firefox uses LAN it works fine!

Unfortunately in these circumstances I need the original roles to stick, Chrome has to use LAN while FF uses WLAN.

So my question; how do I get Firefox to use WLAN as default, even if there is a LAN network available (although blocked by the firewall)

DILi states:
In firefox
Select Edit->Preferences->Advanced->Network ->Settings
Here you can configure proxies manually to access the internet through
your Wireless connection.
http://stackoverflow.com/a/13250540/5387193

How do I configure a proxy to access only my wireless network?
Screenshot below of required info:
https://s31.postimg.org/ghod7agbv/proxy.png
 
Solution
A firewall rule just allows or disallows traffic. The traffic must already be attempting to use the path the firewall does not control the path.

Do a ROUTE PRINT command and look at the metrics. This is what is controlling the path.
I am not sure what you are using to do this. I have not seen rules that force traffic over interfaces. If you are setting this in the firewall this just allows traffic to follow that path it does not force it to. The routing table in the PC will select the path and the firewall will just disallow or allow traffic. If it selects the wrong path it will just be dropped.

There is no simple way to really do this. It is not done in the proxy settings although you could I suppose use a proxy server in your lan to accomplish this.

A hack that has been around for a while is called forcebindip. I think they got it finally fixed so it will run with win10. Like most free things it has issues now and then when you get OS upgrades.

It will mostly work, problem is a browser launch things like flash and java and other external processes so you may not get 100%. It may for example run the flash player for both browsers over the same connection.
 
I did look into ForceBindIP before I made the post, but avast marked it as malware so I am not sure if the site has been compromised or if avast is just being sensitive.


I am applying the rules using the following:
1. open Windows Firewall with Advanced Security -> Right click -> Properties -> Block outbound connections for Domain Profile, Private Profile and Public Profile
2. Create custom rule for inbound and outbound connections -> Allow the connection
3. Edit the rule -> Advanced -> Customize -> Only allow wireless / local connection interface

I have also tried changing the scope for the rules to only allow connections via the wireless IP or local IP.

Both of these techniques don't work, although I think they should work. When checking the connections with Resource Monitor, both Firefox and Chrome are using the correct IP addresses (wireless and local respectively).

I am going to try using a VM again and see if I can get the desired results.

Thanks!
 

TRENDING THREADS