Quote:
Originally posted by GUIPenguin
I dont know what to put for port forwording for the SOURCE PORT becouse it changes every time
|
you likely mean DESTINATION PORT.
iptables -i <interface> -p tcp --destination-port 10000 -j ACCEPT
iptables -m state --state ESTABLISHED,RELATED -j ACCEPT
you SOURCE PORT will be the port the client is using and will not be bound to a specific one, so don't set i at all.
where your saved rules are depend on your distribution and what program you use to set the rules.
sl mritch.