commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This turns your iptables packet filter to a "Allow any from any to any" filter, so you can rule out any filtering issues when you have a problem to enable a connection from or to your host.
To re-enable it, run /etc/init.d/iptables restart
There is 1 alternative - vote for the best!
If you changed the default policy on any chain other than filter table chain's, this won't be enough.
If you can do better, submit your command here.
You must be signed in to comment.