On Tuesday 27 May 2003 09:22 am, you wrote:
Well you can use iptables directly- the only way i know how. Run these commands as root. Select which one you want TCP or UDP?
iptables -A INPUT -p tcp --dport 20000 -j ACCEPT iptables -A INPUT -p udp --dport 20000 -j ACCEPT
i added this but when i do iptables -L i dont see it which file holds all the rules?
Well, when you run these commands they are kept in memory for use by the kernel and the netfilter. However I think you;re talking about the SuSE firewall which holds the default set of rules when the computer boots. I dont know where the default rules are kept, maybe someone else in the list can answer that. However I don't know why they wouldn't show. Unless the command gave you an error, I see no reason why they would not show with iptables -L Do NO rules show when you use iptables -L or are you just unable to see the specific rules added above in addition to the many other rules that might be there. The etc/services file says 20,000 udp and tcp are for DNP (whatever that is) so it might not say port 20,000 but will list the port as DNP. ---------------------- Eric Bambach Eric@CISU.net ----------------------