Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-14-2004 #1Linux Newbie
- Join Date
- Nov 2004
- Posts
- 127
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.
- 11-14-2004 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
On Fedora Core 2, run this:
Code:iptables-save >/etc/sysconfig/iptables
- 11-14-2004 #3Linux Newbie
- Join Date
- Nov 2004
- Posts
- 127
Sorta like using a router. Make changes then do a copy run start.
Thanks, for the help yet again Dolda.


Reply With Quote
