Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • You want each outbound connection to have a different port number, correct? What makes you think your system isn't doing that already? Commented Jun 17, 2014 at 12:59
  • I've already tested the rule by sinnifing packets and for 2 different sessions it's always the same port number that is affected. Commented Jun 17, 2014 at 13:02
  • What does sudo iptables -vnL -t nat show? Commented Jun 17, 2014 at 13:25
  • @HaTiMuX: How do you check "2 different sessions it's always the same port number"? Commented Jun 17, 2014 at 13:26
  • @Creek for the specific rule it shows ... to:175.45.14.88:90-100 which means there is a port ranger. I think --random does the work. Commented Jun 17, 2014 at 13:30