Score:0

How can I configure proxy as a gateway

in flag

I have a proxy service, i want to configure it as a gateway. Means, I am running a VPN service and want to pass all my client's traffic through this proxy. But i don't want to configure this proxy on client end. Niether want to configure any CA certificate for SSL websites. Like this Client -> VPN -> Proxy -> Website

Is there anyway to achieve this?

Appleoddity avatar
ng flag
Proxies and gateways are two different things and operate at different OSI layers. You cannot make a “proxy” be a “gateway.” What you can do is setup a “full tunnel” VPN connection and implement a “transparent proxy” on the remote (VPN server side) network.
Sohaib avatar
in flag
I tried squid proxy as a transparent proxy, but it requires to have CA certificates at client end. this actually cannot be done in my scenario, as my client wont accept this. is there any other proxy which does not require to have CA and still work as transparent proxy? Is there any other way i can just forward my client's 80 and 443 traffic to proxy ?
Appleoddity avatar
ng flag
A transparent proxy does not require certificates. An SSL inspecting proxy does. If you do not desire to decrypt encrypted traffic then you would not have a certificate issue. This sounds like an [XY problem](https://xyproblem.info/). You’re not really telling us what you’re trying to do. You’re just assuming the way you’ve chosen will you get you there.
Sohaib avatar
in flag
I have VPN server running on centos7, with openvpn and strongswan. I have multiple clients which connect to that server. now what i want is to add proxy server with my VPN server so that all the 80 and 443 (http and https) traffic go through that proxy. all the other traffic may go from server's gateway. for I tried to configure squid as transparent proxy, but for https traffic it requires to have CA certificates on client side which i dont want to do. I hope this clear the my problem what i am actually looking for
Sohaib avatar
in flag
Hi, I am able to achieve this using redsock proxy. https://github.com/darkk/redsocks
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.