Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Opening ports with iptables

    Could someone tell me how to open a port and keep it opened?

    Currently I'm just doing something like "iptables -I INPUT -p tcp --dport 110 -j ACCEPT" to open the ports I need. But when I reset this setting is lost and I have to put it in again.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    On Fedora Core 2, run this:
    iptables-save >/etc/sysconfig/iptables

  3. #3
    Sorta like using a router. Make changes then do a copy run start.

    Thanks, for the help yet again Dolda.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts