Restraining dynamic pat source ports

Answered Question
Dec 2nd, 2009

Hi there, I would like to know if there is a way to restrain outgoing udp/tcp source ports on a dynamic pat configuration, like I want that all my ports coming from my lan use a specific range when going outside. is there a way to do such a thing ?

I have this problem too.
0 votes
Correct Answer by Pedro Ivo Santo... about 7 years 1 month ago

Hi Bastien,

If my understanding is correct, you want to creat a sort of "port pool", so when a packet comes from inside to outside, you assure that it's source port will be translatated to a specific defined range. Is that?

Unfortunately this isn't supported. You can surely restric the ports that will be translated, but you can't restric to what it will be translated.

Let me know if this clarifies.

Thanks,

Pedro

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Pedro Ivo Santo... Tue, 12/08/2009 - 04:54

Hi Bastien,

If my understanding is correct, you want to creat a sort of "port pool", so when a packet comes from inside to outside, you assure that it's source port will be translatated to a specific defined range. Is that?

Unfortunately this isn't supported. You can surely restric the ports that will be translated, but you can't restric to what it will be translated.

Let me know if this clarifies.

Thanks,

Pedro

bastien.migette Tue, 12/08/2009 - 05:00

Yes, that was my aiming, in fact, I would like to use a VPN service which would redirect an arbitrary incomming port range to allow incomming connexions, and my wish was not to reconfigure all my applications using incomming connections, but restricting outgoing source ports to be transparent, but that'll make just a litle more stuff to do.

THanks for your response anyway

Actions

This Discussion