FC2-t2 network setup question (how to allow incoming ssh/telnet connections)

Andy Green fedora at warmcat.com
Thu Apr 15 21:10:17 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 15 April 2004 17:51, Fulko.Hew at sita.aero wrote:

> to find out and adjust iptables accordingly.

/etc/rc.local is waving at you beguilingly :-)

add

iptables -I INPUT -p tcp --dport 22 -j ACCEPT

in there, you can run it by hand from a root commandline for the one session 
too, putting it in /etc/rc.local means it will stick for subsequent boots.

There are probably better ways, but this way has the significant advantage of 
acting as a template for if you need to let other, stranger ports in.

- -Andy

- -- 
Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players
http://warmcat.com/usbautocam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAfvo5jKeDCxMJCTIRApJAAJwK7vqcKH9I5c1H6+uioWCFJKbPWACgjzo0
FW1+/Z0GRNjhIsloqCl+tZE=
=iXW6
-----END PGP SIGNATURE-----





More information about the fedora-test-list mailing list