Results 1 to 1 of 1
I am playing with netfilters. I am trying to create a netfilter hook which will do basic NAT operation.. so the incoming TCP port and IP address will be mapped ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-05-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 3
NAT-like netfilter module - how to find a free port?
I am playing with netfilters. I am trying to create a netfilter hook which will do basic NAT operation.. so the incoming TCP port and IP address will be mapped to a different IP and a port number. My question is how do I find a port number which is not used and whatever port number I am selecting, it should be blocked for further use(since this port is used in NAT translation)? Any help is appreciated!
Thanks!


Reply With Quote
