1

[ubuntu] router - iptables refuses ssh connection

view story
linux-howto

http://ubuntuforums.org – Hey, I'm currently updating my router and there seems to be a problem with the iptables rules. Current config: DSL Modem -> Lan1 ->Router -> Lan2 When I try to connect from Lan2 to the Router everything's fine but if I try to connect from Lan1 to the router I get: Code: ssh: connect to host 192.168.0.15 port 22: No route to host but I can ping the router from Lan1 and everything's fine from Lan2. Script: Code: # External (Internet-facing) interface EXTIF=”eth0″  # External IP address (automatically detected) EXTIP=$(/sbin/ip addr show dev “$EXTIF” | perl (Hardware)