From ec86f2c46c7276ee24c2606525cf649480b9fa72 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 8 Jul 2003 19:32:36 +0000 Subject: [PATCH] Add an example to the rules file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@652 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/rules | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Shorewall/rules b/Shorewall/rules index e48e94bf1..6fad0f14f 100755 --- a/Shorewall/rules +++ b/Shorewall/rules @@ -220,6 +220,14 @@ # #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL # # PORT PORT(S) DEST # DNAT net loc:192.168.1.3 tcp 80 - 130.252.100.69 +# +# Example: You want to accept SSH connections to your firewall only +# from internet IP addresses 130.252.100.69 and 130.252.100.70 +# +# #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL +# # PORT PORT(S) DEST +# ACCEPT net:130.252.100.69,130.252.100.70 \ +# tcp 22 ############################################################################## #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL # PORT PORT(S) DEST