Results 1 to 3 of 3
Thread: block ports in linux
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2008
block ports in linux
i have used redhat linux v9.0 and webmin
how can i block all ports then again how to open perticular ports like 25,110,6668
FYI, your question is not about WINE, so you may have more luck putting this question in the Networking or Security portions of the forums.
For port blocking you can use iptables.
Here are a couple of primers on the usage:
Linux 2.4 Packet Filtering HOWTO: Using iptables
Gentoo Linux Documentation -- Dynamic iptables firewallsLinux since: 2001
Gentoo since: 2004
- - - - - - - -
I fix things until they break.
- Join Date
- Nov 2007
- Córdoba (Spain)
As sdimhoff says, this has nothing to do with wine, and I am surprised you thought about that :P
There are lots of frontends to configure firewalls in linux, though them all have a big problem: they are all based on iptables, and iptables usually runs as a daemon. So, the frontends are useless, because they are dependant on a given distro.
Your best bet is to learn to configure iptables. There are also scripts to set it up. These days, shorewall seems to be a famous one.