how to pen a port
I have a machine and I want to make it as a Tor exit node.
The machine is in an institute, and it is with an external IP address.
Since there is firewall, some related ports are influenced, and there is port forwarding problem.
How can I detect which ports are influenced and how can I open those ports or make the forwarding work?
The firewall policy has to be configure using iptable command.
And in addition to that server level configuration, you'll need to work with the networking team at the institute to make sure the flows you need are allowed across the internal network and to the outside world. Every device between the endpoints has to allow flow so it's not just a matter of configuring the Linux system.
Originally Posted by nini09
Use netstat -a command to check the ports that in use. Then use Linux firewall to open those particular ports. There is an inbuild Linux firewall GUI if you are using GUI mode (ex GNOME)