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: 199.9.9.9) connects to VPN server by public IP (Wan IP: 188.8.8.8 - VPN IP: 10.8.0.1) on port 3128
User's request is forwarded to Squid server on VPN client (VPN IP: 10.8.0.10) on same port 3128
Squid works but logs 10.8.0.1 instead of 199.9.9.9 on access.log
Does anyone have a solution to propose to me?
Thank you in advance
Squid Proxy inside VPN
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Jun 15, 2022 6:43 pm
Re: Squid Proxy inside VPN
I have installed openvpn and squid on same server. I want vpn client browsing should go through squid without setting up client browser serting
There must be need to define iptable rule? Please advice rule how to accomplish this
There must be need to define iptable rule? Please advice rule how to accomplish this
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Apr 25, 2023 10:04 pm
Re: Squid Proxy inside VPN
Hey zohaib09 Lograste configurarlo?
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 26, 2023 5:14 pm