openvpn connection initailised but no connection go throw it.
-
Hello evry one.
My tepology is so simple, i have LANnetwork and WAN network connected to my Pfesebse, Am traying to connect a subnet (192.168.5.0/24) to Openvpn server and another subnet(192.168.48.0/24) to another openvpn Server. i read the guid and i made all instraction on the documentation.(Ca auth, cert and key of the client and configuration of client ...) my Openvpn interface is up and it have the address 10.8.0.45 and the getway 10.8.0.63 after that i add NAT and firewall rules to redirect the trafic to openvpn interface. evrything going well however no connection to internet.
after hours of troubelsouting, the last thing i test is when i go to Diagnostics/Ping when i ping 8.8.8.8 from WAN interface i had answer( mean that there connection ) but when i choose OPT1 interface like a source i have a time out and no connection to 8.8.8.8.
Pfsense Version : 2.4.5 released.
Thank you -
@me-yro
Did you add an outbound NAT rule to the VPN interface? -
@viragomann Yeah, I did That.!
in addition i tried a lot of NAT configuration but nothing . -
@me-yro
To get you right, you want to set up a site-to-site connection, between 192.168.5.0/24 at local and 192.168.48.0/24 at remote site? This connection is already working, but you have no internet from the local network.Interestingly the network 192.168.5.0/24 isn't shown in your Outbound NAT rules. So I suspect it is not configured correctly.
From where is the internet unrechable? Any local device?
Do you intend to direct the upstream traffic over the VPN?
-
@viragomann thank you for replaying.
yeah i wanna made two subnet the first one goes throw the first vpn and the second goes throw the second.
however, when i made the correct configuration for the subnets nothing work ( no internet connection ) for that i start trooblshouting but nothing, For that i delete all old configuration and add a simple ones to see, so i want all my LAN traffic goes throw the VPN( i use VPNBook for that ).Thank you.
-
@me-yro
So you want to use a VPN service to access the internet.For now I cannot see that there is any of these subnets is defined on your pfSense interfaces.
@me-yro said in openvpn connection initailised but no connection go throw it.:
however, when i made the correct configuration for the subnets nothing work ( no internet connection )
Since you don't show it there is no way to verify.
Is your VPN up?
In the VPN settings check "Don't pull routes".So you can configure your new subnet and let them go out to WAN first.
If all is working add the outbound NAT proper rules to the VPN interfaces and add policy routing rules to direct the traffic out.If there are issues post more details of your settings.