
How do I proxy my Wi-Fi server?
I've got an Intel X520 card and am running a Wi-Fi server on the same machine.
What I would like is for the clients to be able to connect to the LAN through the Wi-Fi, but when they try to connect, it gets redirected through the Wi-Fi server's IP address. The router is a Netgear N750W.
The way I understand it, I need to have iptables set up to use a second (virtual) IP address for the internet side of things. I'm not sure how to do this in a clean and easy way. Does anyone have any suggestions?
It should be quite easy to accomplish with iptables. I would add the following rule: iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j REDIRECT --to-port 8042. Iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to-port 8042. Assuming your server listens on port 80 and DNS uses TCP to resolve names.
What is an example of a proxy network?
Let's say you are writing a client application that does something to a server.
That server has an API that requires a client to authenticate itself to the server with a username and password. So the client connects to the server and sends in their username and password. The server then authenticates the client and gives the client access to whatever it wants on the server.
In this scenario the server is "the one". The client is "the one" who is connecting to the server. The server has a "real" IP address that it can connect to. The client has a proxy IP address. The proxy is a device that can connect to the server at the real IP address. So instead of the client having to connect to the real IP of the server, it connects to the proxy's IP. Then the proxy is able to connect back to the real IP of the server. The proxy is the "one" that sends its username and password to the server and is able to authenticate itself.
What is the proxy for Wi-Fi?
Wi-Fi is the wireless communication protocol of 802.11 standards and also the name of a commonly used type of wireless networking hardware. A "proxy" is a computer application that acts as an intermediary between another application and the Internet. You could run a proxy on your computer to provide web access to your local network, or you could use a proxy service like DynDNS to provide your home network with internet access.
The original purpose of the proxy was to provide internet access to computers that didn't have it, but today most people don't need a proxy because almost all computers have internet access. They're just called "proxies" because they're usually used for web surfing.
Related Answers
What does proxy mean?
If you are asking about VPN vs proxy, then VPN vs proxy is a question that comes more...
Does a VPN protect you on public Wi-Fi?
This post describes a method for safely using public WiFi with the...
What is a proxy server and why do I need it?
A proxy server is a server computer that makes web connections...