At 1/23/2014 07:09 AM, you wrote:

>I'm trying to setup shorewall
>to allow me to ssh in from a remove computer I own.
>I have added the lines
>  DNAT            net             loc:192.168.1.2:22     tcp    2097
>  DNAT            loc             loc:192.168.1.2:22      tcp    2097

I'm not sure if the local computer sshd_config behaves differently for
local connections versus remote, or if you have a firewall on this second
machine, but that DNAT rule should work and is what I use in my setup.

Is that all of the debug messages you received? Next debug should be:
debug1: Connection established.
followed by authentication. If you did not get to here, something blocked
you.

(ps I recommend disabling PW login and use keys)

Wayne
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to