Enable port access with Iptables

If you want to enable some ports of your linux machine for external users then you have to know below things first.

Example:

To enable ssh access to your box from anywhere on for Class A networks, you could use something like

This allows both udp and tcp traffic from either of the two class A networks to access port 22 on your machine.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

Leave a Reply