Proxy server for changing geolocation - recommendations wanted
Adam Funk
a24061 at ducksburg.com
Tue Oct 12 07:58:26 UTC 2021
On 2021-10-11, Chris Green wrote:
> On Mon, Oct 11, 2021 at 03:27:12PM +0100, Adam Funk wrote:
>> On 2021-10-11, Chris Green wrote:
>>
>> > I want to set up a simple proxy server so that I can use my UK library
>> > services and my doctor's web site when I'm abroad (specifically when
>> > I'm in France). In addition it would be handy to use Google Shopping
>> > (for example) when I'm in France but want to search UK suppliers.
>> >
>> > So, while squid is the 'default' proxy server for linux/ubuntu it does
>> > seem to be heavily oriented towards use as a LAN proxy for handling
>> > multiple LAN clients' access to the internet. It looks to me as if it
>> > would be rather clumsy to use for my application.
>> >
>> > Are there any other proxy servers that offer a simple way to allow
>> > access from remote locations (which don't have a fixed IP as I will be
>> > using my laptop via all sorts of different means) and will then
>> > forward my requests as if they were from the server where the proxy is
>> > running. I can't see any (simple) way to get squid to do this, it
>> > *can* do it but doesn't seem the ideal tool.
>>
>> If you're leaving a server running in the UK (it could be a Raspberry
>> Pi --- cheap with low power consumption), you can probably use ssh and
>> tsocks to "re-geolocate" your browsing.
>>
> I have a virtual server and another server that I can use, that's not
> an issue.
>
>
>> Install the tsocks package then edit /etc/tsocks.conf to add the
>> following lines to the end (that URL still works and is where I got
>> this idea):
>>
>> # http://www.verot.net/socks.htm
>> server = 127.0.0.1
>> server_port = 1080
>>
>> and comment out the server... options before that. Then in one
>> terminal:
>>
>> ssh -D 1080 -N my.server.example.org
>>
>> and in another:
>>
>> tsocks firefox
>>
>> (works with other commands).
>>
> tsocks is very old and unsupported though isn't it!? No changes since
> 2002.
Wow, I hadn't noticed!
(FWIW, the Ubuntu package has several changelog entries from 2016.)
More information about the ubuntu-users
mailing list