From a97633efd300f8505c2d33240f5a0c5951a65696 Mon Sep 17 00:00:00 2001 From: floh1111 Date: Sat, 14 May 2011 12:56:19 +0000 Subject: [PATCH] Allow SSH on WAN --- root_file_system/default/etc/config/firewall | 7 +++++++ root_file_system/default/etc/crontabs/root | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/root_file_system/default/etc/config/firewall b/root_file_system/default/etc/config/firewall index b4aa459..7ad4386 100644 --- a/root_file_system/default/etc/config/firewall +++ b/root_file_system/default/etc/config/firewall @@ -37,6 +37,13 @@ config rule option icmp_type echo-request option target ACCEPT +#Allow SSH on WAN +config rule + option src wan + option dest_port 22 + option target ACCEPT + option proto tcp + # include a file with users custom iptables rules config include option path /etc/firewall.user diff --git a/root_file_system/default/etc/crontabs/root b/root_file_system/default/etc/crontabs/root index b83f5fa..9f31699 100644 --- a/root_file_system/default/etc/crontabs/root +++ b/root_file_system/default/etc/crontabs/root @@ -2,8 +2,8 @@ */5 * * * * killall syslogd */5 * * * * killall logger -*/5 * * * * sh /etc/nodewatcher.sh */5 * * * * sh /etc/tincstart.sh +*/5 * * * * sh /etc/nodewatcher.sh 15 01 * * * rdate -s time.fu-berlin.de > /dev/null