Yes, I have 2 sshd, on both ports 22 and 8022.
As a return rule, I tried :
-A POSTROUTING -d 192.168.7.0/24 -s e.f.g.h -p tcp --sport 8022 -j SNAT --to-source e.f.g.h:22
but that rule doesn't have any hits.
----- Original Message ----- From: "R. DuFresne" <dufresne@xxxxxxxxxxx>
To: "Nicolas Ross" <rossnick-lists@xxxxxxxxxxx>
Cc: <netfilter@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 22, 2005 10:12 AM
Subject: Re: Altering a packet's port
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
if sshd is there listening on port 8022, do you have rules setup for the packets that are returned as well?
Thanks,
Ron DuFresne
On Tue, 22 Mar 2005, R. DuFresne wrote:
--[PinePGP]--------------------------------------------------[begin]--
do you have sshd listening on port 8022 on e.f.g.h?
Thanks,
Ron DuFresne
On Tue, 22 Mar 2005, Nicolas Ross wrote:
What I'm trying to do isn't working...
In my nat table I have :
-A PREROUTING -s 192.168.7.0/24 -d e.f.g.h -p tcp \ --dport 22 -j DNAT --to-destination e.f.g.h:8022