A
A
Anar Latifov2020-10-22 17:03:27
openvpn
Anar Latifov, 2020-10-22 17:03:27

VPS as a proxy server?

There is a VPS server on Ubuntu 18.04 on which openvpn is running in the screen with access to one specific server.
You need to configure the VPS as a proxy that will be used by the client in the browser (FF for example), through which there will be access to the server that opens via openvpn.

I was advised Squid, but to be honest, I did not quite understand how to configure it correctly.
If there is a way to make it easier not through squid, I will be glad! Literally save a life!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Vasilyev, 2020-10-22
@vasilyevmn

https://freelance.habr.com/

C
CityCat4, 2020-10-23
@CityCat4

There is nothing complicated there.
Cache - depending on the needs - how much will one user gobble up?
cache_dir diskd /var/spool/squid 5000 32 32
5Gb is enough for me.
No authentication - what for? Access control primitive by IP:

acl scat           src             10.1.1.1
acl ltroll         src             10.1.1.2

http_access allow scat
http_access allow ltroll

# And finally deny all other access to this proxy
http_access deny all

Of all the other parameters, well, maybe a couple is changing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question