Pfsense no internet access on Esxi server
-
This is an OVH thing. Basically they give you a single /32 and the gateway is on a different subnet.
You might try changing the WAN interface mask back to /32, then going into System > Routing > Gateways, add your default gateway and click on the Advanced settings button and scroll down to the bottom.
Check on Use non-local gateway.
This will allow use of a gateway outside of this interface's subnet. -
I have set as you have suggested and it worked after a reboot.
I suppose now its a question of time to see if it works :)
-
Unfortunately the same error - the gateway that i set is to the IP of ESxi server - which is what a tutorial specified.
-
@craig121 said in Pfsense no internet access on Esxi server:
Unfortunately the same error - the gateway that i set is to the IP of ESxi server - which is what a tutorial specified.
I'm not sure that setting the gateway to the IP of the ESXi server is correct. Which tutorial did you follow?
-
The tutorial that i followed which is very long winded and you have skip a lot is the playlist:
https://www.youtube.com/watch?v=iiQNQNdAAdA&list=PLf0swTFhTI8qOAbrJhihZZTWfZA_arTYZ&index=13
-
Also its very similar to
https://support.us.ovhcloud.com/hc/en-us/articles/360002175944-How-to-Connect-a-VM-to-the-Internet-Using-VMware-ESXi-6-5
https://support.us.ovhcloud.com/hc/en-us/articles/360000096990
I have just tried changing my final gateway ip address octlet to 254. So the first three octlets are the same as the Esxi server and the final octlet is 254.
-
Hallelujah - its finally working and sorted - follow the OVH links for a server on OVH.
I wish i had looked at the articles rather than following a youtube video where i shouldn't have configured pfSense by adding static routes etc. Plus the gateway was set incorrectly.
Kom and Awebster - really appreciate your help.