* 8080 to 22
@ 2006-02-20 11:25 Brent Clark
2006-02-20 11:39 ` Brent Clark
0 siblings, 1 reply; 2+ messages in thread
From: Brent Clark @ 2006-02-20 11:25 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 8080 to 22
2006-02-20 11:25 8080 to 22 Brent Clark
@ 2006-02-20 11:39 ` Brent Clark
0 siblings, 0 replies; 2+ messages in thread
From: Brent Clark @ 2006-02-20 11:39 UTC (permalink / raw)
To: netfilter
Brent Clark wrote:
> 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
Sorry Never Mind
Would help if I allow 8080 on my own personal fw.
Thanks anyway.
Kind Regards
Brent Clark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-20 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 11:25 8080 to 22 Brent Clark
2006-02-20 11:39 ` Brent Clark
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.