Can I have ipsec-tools working for non standard ports (500/4500)?

view story

http://serverfault.com – I was trying to set up a manually-keyed connections via ipsec-tools between two ubuntu 12.04 servers, following this simple tutorial, but one of that two servers, has just a range of ports 3000 .. 3100 available, because of firewall constriction. Is it possible set them up non standard port and if yes how ? (HowTos)