Squid Proxy inside VPN

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 12, 2019 4:23 am

Squid Proxy inside VPN

Post by MaxLu » Fri Jul 12, 2019 4:26 am

Hi all!
I have a squid server on a VPN client and a VPN server with WAN IP
I use a port forwarder (rinetd) on VPN server to redirect user request to Squid Server
I want squid logs user public IP instead VPN server IP

This is an example:
User (Wan IP: connects to VPN server by public IP (Wan IP: - VPN IP: on port 3128
User's request is forwarded to Squid server on VPN client (VPN IP: on same port 3128
Squid works but logs instead of on access.log

Does anyone have a solution to propose to me?
Thank you in advance

Post Reply