Hi stanthewizard,
thanks four your explanation. I got it up and running as described below.
installed OpenVPN with the Wizard to listen on the WAN interface, port 443, TCP, tun mode
in "Advanced" I inserted the following "port-share 192.168.0.1 4443"
and added a NAT Port Forward rule as following:
| If | Proto | Src. addr | Src. ports | Dest. addr | Dest. ports | NAT IP | NAT Ports |
| WAN | TCP | * | * | WAN address | 443(HTTPS) | 192.168.0.1 | 443(HTTPS) |
as expected, the firewall rule was created automatically, which is why the following rules are defined for the WAN interface:
| ID | Proto | Source | Port | Destination | Port | Gateway | Queue | Schedule |
| IPv4 TCP | * | * | WAN address | 443(HTTPS) | * | none | |
| IPv4 TCP | * | * | 192.168.0.1 | 443(HTTPS) | * | none | |
squid3 reverse is listening on the WAN interface, port 4443
In my case the IP "127.0.0.1" did not work. The problem was that the pfsense is located behind the ISP's router which forwards the port 443 to the pfsense box. Instead, I had to use the WAN interface's IP address "192.168.0.1" of my pfsense box.
Thanks again.