On Tuesday 02 March 2004 01:18 pm, Karl Schmidt wrote:
> I've just moved a fire wall from Dachstein to Bering and have everything
> working except one thing.
>
> Before there was a set up where if I would:
>
> ssh -P333 firewall.domain.com
>
> The firewall would pass that on to a private server using port 22.
>
> Thus, if you wanted to ssh to the fire wall you would just:
>
> ssh firewall.domain.com
>
> and if I wanted to ssh to the internal server I would add -p333 to the
> command string.
>
> Rules:
>
> ACCEPT  fw      loc                     tcp     37
> DNAT    net     loc:192.168.1.200       tcp     333  22

DNAT    net     loc:192.168.1.200:22    tcp     333

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to