Answer the question
In order to leave comments, you need to log in
How to open sites using two different connections?
Hey!
We have working laptops.
Laptops are connected to two networks at the same time.
Lan - an internal network of an organization with limited access to the Internet, with internal sites. Mainly used for RDP desktop connection.
WI-FI - Used to access the external Internet.
The current scheme of work looks like this:
1. Turn on the laptop.
2. Turn off WI-FI
3. Connect to a remote machine using a cable.
4. Turn on WI-FI
5. Surf the Internet
If you need to go to the organization's local website
1. Turn off WI-FI
2. Go to the site.
Question.
How to make automatic redirection of traffic / requests on port 80?
those
If the user wants to go to an internal site, then the traffic is redirected to the LAN (there are a limited number of internal sites).
If to toster.ru, then the traffic goes through WI-FI.
It is desirable to solve this on the laptop itself.
Answer the question
In order to leave comments, you need to log in
This can be done by routing.
With two caveats - to register permanent routes, you need admin rights and, in principle, the user himself can screw up something in the routes.
The idea is - on the LAN you write a static ip address and the complete absence of a default router.
On wifi address and default router distributes dhcp on the access point.
If there is one ip network in lan, then everything has already been decided - traffic will go to this ip network through lan, to the rest - through wifi.
If there is more than one network, then write routes with your hands
route add 192.168.2.0 mask 255.255.255.0 10.1.1.10 -p
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question