Hi,
I have installed PfSense as a VM on Proxmox with 2 vmbr's. (By the way my machine is only equipped with one physical NIC.)
The gateway of the router is at 192.168.x.1. Proxmox has an IP of 192.168.x.21, my PfSense VM has a IP address of 192.168.x.70. (Which is set as the WAN IP of vmbr0)
The LAN IP range has been defined as 192.168.y.0/24 within PfSense an attached to vmbr1. (The VM's on the PfSense-LAN have 192.168.y.1 as gateway).
VM's on the y-net LAN can reach the internet.
My public IP address is a.b.c.d.
I have now configured an OpenVPN server in PfSense (via tab VPN -> OpenVPN). The CA,, server certificate and a user certifcatehave been created).
The tunnel network has been set-up as 192.168.z.0/24 and was not already in use.
With the VPN connection I want to reach (from remote) the 192.168.y.0/24 addresses. (Later on I want to add probably some 192.168.x.0/24 IPs)
I have exported the ovpn file via the VPN Client Export add-on in PfSense.
I tried to use the ovpn file on my mobile phone by importing it in the OpenVPN client.
But the connection cannot be established since the VPN wants to connect to the 192.168.x.70 IP address which is not my public IP.
Changing in the ovpn the "remote" statement to my public ip also does not work. (which I expected by the way)
Can someone tell me how I should configure OpenVPN correctly within PfSense to accomplish what I want.
Your help is appreciated!
I have installed PfSense as a VM on Proxmox with 2 vmbr's. (By the way my machine is only equipped with one physical NIC.)
The gateway of the router is at 192.168.x.1. Proxmox has an IP of 192.168.x.21, my PfSense VM has a IP address of 192.168.x.70. (Which is set as the WAN IP of vmbr0)
The LAN IP range has been defined as 192.168.y.0/24 within PfSense an attached to vmbr1. (The VM's on the PfSense-LAN have 192.168.y.1 as gateway).
VM's on the y-net LAN can reach the internet.
My public IP address is a.b.c.d.
I have now configured an OpenVPN server in PfSense (via tab VPN -> OpenVPN). The CA,, server certificate and a user certifcatehave been created).
The tunnel network has been set-up as 192.168.z.0/24 and was not already in use.
With the VPN connection I want to reach (from remote) the 192.168.y.0/24 addresses. (Later on I want to add probably some 192.168.x.0/24 IPs)
I have exported the ovpn file via the VPN Client Export add-on in PfSense.
I tried to use the ovpn file on my mobile phone by importing it in the OpenVPN client.
But the connection cannot be established since the VPN wants to connect to the 192.168.x.70 IP address which is not my public IP.
Changing in the ovpn the "remote" statement to my public ip also does not work. (which I expected by the way)
Can someone tell me how I should configure OpenVPN correctly within PfSense to accomplish what I want.
Your help is appreciated!