@terdexx89 said in pfsense : forward all LAN traffic to a proxy:
android phone connected to a proxy and make a vpn connection
Ok I'm a bit confused - are you saying your phone can not connect to this vpn connection unless it bounces off this proxy?
If pfsense can make a vpn connection to where your phone is connecting or any other vpn service on the internet, then you could route all clients behind pfsense through this vpn.. This is just a client vpn connection on pfsense and people do this all the time..
Pfsense does have the ability to use an upstream proxy, but I am not sure if it would then route its vpn connection through this proxy?
https://docs.netgate.com/pfsense/en/latest/config/advanced-misc.html#proxy-support
I take it your goal is to use pfsense to route your device behind pfsense through the vpn connection? Which users do all the time. What I am confused about is the added proxy? My understanding of the upstream proxy feature of pfsense is so pfsense can access updates and packages. I am not clear on if you set this upstream proxy, and then setup a client vpn connection in pfsense if it would make that connection through the proxy.
But once pfsense has this vpn connection, it is quite simple to route devices behind pfsense through this vpn connection.
edit:
If you want your vpn client on pfsense to bounce off a proxy, those settings are in the vpn client setup
https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/configure-client.html#proxy-settings