[ previous ] [ next ] [ threads ]
 From:  Dinesh Nair <dinesh at alphaque dot com>
 To:  Olivier Nibart <olivier at naya dash tec dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] NAT with port change
 Date:  Mon, 17 May 2004 23:59:07 +0800 (MYT)
On Mon, 17 May 2004, Olivier Nibart wrote:

> WAN port 22 <------------>M0n0wall<--------------->LAN S1 port 22
> WAN port 2222 <------------>M0n0wall<--------------->LAN S2 port 22
> I've added a NAT from WAN:22 to S1:22 on LAN
> I did the same for S2 except that I've put 2222 on the external port.
> I have one rule that permit port WAN:22 to access S1 and another one
> that permit WAN:22 to access S2 also.

access to SSH on S2 should be directed to WAN IP port 2222 from the
outside, hence the rule should be to allow incoming on WAN port 2222.

Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque dot com                (0 0)    http://www.alphaque.com/
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |