From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brent Clark Subject: 8080 to 22 Date: Mon, 20 Feb 2006 13:25:36 +0200 Message-ID: <43F9A730.1040907@eccotours.co.za> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org Hi all I am in need of connecting to a machine with SSH, but via port 8080. I tried the following $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to 10.0.0.10:22 $IPT -t filter -A FORWARD -i eth0 -p tcp --dport 8080 -d 10.0.0.10 -j ACCEPT $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to 10.0.0.10:22 $IPT -t filter -A FORWARD -i eth0 -p tcp --dport 22 -d 10.0.0.10 -j ACCEPT And still I cant connect. I do have another machine that I have to connect to, but this on the standard port 22. If anyone could assist, I would be most grateful. Kind Regards Brent Clark