Hi all, it's been long time since I wrote here, because my router worked perfectly ;) OK, I upgraded to RH 7.3. Did all according to this: http://tldp.org/HOWTO/IP-Masquerade-HOWTO/ and I even got it working. The thing is that I can get to internet, irc, ftp and so on from 192.168.90.0, but not from the router itself. And, I can't SSH to the router from LAN, even though SSHD2 is installed. What I'm asking is a few IPTABLES lines which allow SSH connections, allow inbound/outbound TCP-traffic (from the router) (to surf and irc and so on) but not else.
So IPTABLES -A INPUT -i eth0 -p TCP -j ACCEPT is not what I want, but a similar line to ipchains which allows acknowledge packets. I hope you understand what I want here :) I tested IPTABLES -A INPUT -i eth0 -o $EXTIF -m state --state ESTABLISHED,RELATED but nothing. And I don't even know all "states"... Any help is appreciated...
 
-Petteri Matilainen

Reply via email to