Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 717  / 3 Years ago, tue, september 28, 2021, 10:24:12

The goal is to have Ubuntu machine act as a proxy for another machine on WAN. What is the simplest way to accomplish that?



To explain in more detail: There are two machines on the same WAN, but one of them can access the Internet and another one can't. It's possible to talk from one machine to another, though. So the point is to set up the proxy server on the Internet-able machine (having Ubuntu installed).



Note: This is not about using one machine as the bridge on the same LAN, that can be done easily, this is a different approach (as i understand it).


More From » networking

 Answers
4

The very easy solution is to install a Proxy server package, such as polipo. For a single machine serving internet to one other device that is probably all you need to do.



sudo apt-get install polipo



Then just configure the polipo service to allow connections from the other device, for example un-comment and change the following lines in the /etc/polipo/config file:



proxyAddress = "0.0.0.0"



allowedClients = 192.168.56.0/24



Then restart the polipo server to update its configuration:



sudo /etc/init.d/polipo restart



The more complicated part is to convince your other device(s) to use the polipo proxy server. Setting a proxy depends entirely on the software on the non-directly connected machine.


[#28005] Tuesday, September 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
needstar

Total Points: 268
Total Questions: 108
Total Answers: 117

Location: Seychelles
Member since Mon, Jun 28, 2021
3 Years ago
;