fechin
08-15-2005, 01:11 PM
I am using the GUI firewall tool that is supplied in knoppix 3.9. I want to allow incoming access to ssh and an application server on port 62856. I've set the mode to expert even though I 'm not. When I start the firewall I can't connect on the ssh or application port. Do you know what I'm doing wrong? Note, I'm not using NAT and there is no firewall in front of of the PC. Below is the contents of /etc/sysconfig/firewall.iptables
# internal interfaces
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
# all outgoing
iptables -A OUTPUT -o eth0 -j ACCEPT
# SSH access
iptables -A INPUT -p tcp -i eth0 --dport 22 -j ACCEPT
# Application access
iptables -A INPUT -p tcp -i eth0 --dport 62856 -j ACCEPT
# internal interfaces
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
# all outgoing
iptables -A OUTPUT -o eth0 -j ACCEPT
# SSH access
iptables -A INPUT -p tcp -i eth0 --dport 22 -j ACCEPT
# Application access
iptables -A INPUT -p tcp -i eth0 --dport 62856 -j ACCEPT