Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to set up a manually-keyed connection 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 ?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

IPsec itself doesn't use any ports. If you are willing to setup manually as described in the tutorial it should work.

You need ports for automatic key exchange via racoon or another IKE daemon or maybe if you use NAT. These ports are 500/udp and 4500/udp by default and can by changed in racoon config file

    (maybe)    /etc/racoon/racoon.conf

Check the manpage

    man racoon.conf

for the listen section (Listening Port Specification).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.