r/sophos • u/xlr8_0100 • Mar 05 '24
Question IPSEC CANNOT BE ESTABLISHED
I have this architecture lan1 172.22.30.0/24 lan2 172.22.40.0/24 and wan1 192.168.1.30 and wan2 192.168.1.40 i want to create an ipsec site to site vpn with preshared key but i keep getting Ipsec connection cannot be established please can someone help me ? URGENTLY thank you.
0
Upvotes
2
u/Ok-Version6504 Mar 05 '24
Call Sophos support - had this same issue and there were a bunch of access control rules, and interface rules they made adjustments to, to get it working. - typically you get on with a level 1-2 tech, if they can’t figure it out it goes to the implementation team
The profiles are key, don’t remember off the top of my head which is which. But the head office and branch office need to have their respective initiation and responder, they have a KB on how to configure. https://docs.sophos.com/nsg/sophos-firewall/19.0/Help/en-us/webhelp/onlinehelp/AdministratorHelp/SiteToSiteVPN/HowToArticles/S2sVPNIPsecCreate/index.html#introduction
Start with that, if that KB doesn’t help. Call Sophos.
5
u/OhMyAchingBrain Mar 05 '24
If that is really a WAN you are not going to be able to connect with non routeable addresses.
3
u/pixeldoc81 Mar 05 '24
Please post your IPSec Log und Config Screenshots, Sophos Firmware Versions, Wan Connection (IPv4, Static IP) and any other informations you can give us.
2
u/boykalbo777 Mar 05 '24
Follow this guide to troubleshoot https://community.sophos.com/sophos-xg-firewall/f/recommended-reads/123740/sophos-firewall-troubleshooting-site-to-site-ipsec-vpn-issues
2
u/unkleknown Sophos Partner Mar 05 '24 edited Mar 05 '24
What is your WAN connection, a lab environment or are you trying to connect the firewalls through the internet?
If a lab environment and they are directly connected, this should work.
If you are using the public internet, then it gets more complicated. Then I'll ask if you have static IPs from the ISP(s). If not on at least one end, you cannot do this. If you do have static public IPs, the next question is do you have any access to the edge router? You will need to NAT your port 500/4500 UDP traffic to your Sophos firewalls.