Results 1 to 2 of 2
Hi,
I guess its time I set up a firewall! Kinda stupid for not doing it sooner....
Im runing slackware 10 (might be 10.1).
I have iptables installed, and also ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-08-2005 #1Linux Newbie
- Join Date
- Nov 2004
- Posts
- 239
Help setting up a firewall
Hi,
I guess its time I set up a firewall! Kinda stupid for not doing it sooner....
Im runing slackware 10 (might be 10.1).
I have iptables installed, and also got iptables-control which seems to guid though setting it up.
What i really need help with is all the ports. THis is what i want to use it for:
1) A Samba server for sharing files with windows pc's
2) A FTP server (already set up and working) - port 21 at a guess
3) SSH so I can log in to it from LAN - port 22 at a guess
4) VNC so I can remote desktop from LAN
any ideas on which ports i need to open for vnc or smb?? ive tried a few but things grind to a halt when its turned on!
Also, once its set up, i issue the commannd "iptables start" and it gets things going, will i have to do this every time i log on?
Thanks
- 03-09-2005 #2Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
Look at IANA network port assignments for which ports you need for various services.
For automatic startup, just add your filewall script to your system startup scripts -- I'm not a Slacker, so I'm not sure which script it is, but on RedHat it's /etc/init.d/rc.d/rc.local.Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.


Reply With Quote
