Forward proxy to WLAN access point gateway

In our network, a proxy server is used to provide Internet access to all clients that are computers running Windows XP. Now we want to set up a wireless LAN so that people can connect their mobile phones, computers, etc. To the Internet. However, if we simply connect a wireless access point to our network, everyone should configure a proxy server on their devices. What can I do so that the WLAN router can act as a gateway to the Internet using a proxy server?

+3
source share
1 answer

You can NAT all traffic destined for port 80 for the proxy machine. This is the so-called forced or interceptor .

For example, if you have a RouterOS router, you simply add a rule

/ip firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=80 protocol=tcp to-addresses=<proxy IP address>

If you proxy other protocols besides HTTP, you will do the same for them by changing the port.

Many proxy solutions can work in interception mode (for example, you have a machine with two network interfaces that filter all traffic that passes). See this tutorial for customization using Squid.

, -, , , , Vyatta Mikrotik RouterOS (, ) open-source/freeware router/firewall (pfSense, Openwall, m0n0wall,...) vanilla OpenBSD ( pf)/Linux ( iptables) .

, -NAT .

, , .

+3

All Articles