Linux Netfilter discussions
 help / color / mirror / Atom feed
* Access VNC Server via DNAT
@ 2003-09-20 13:56 Joel Pearson
  2003-09-22  8:02 ` Venkatesh. K
  2003-09-23  1:28 ` Mark E. Donaldson
  0 siblings, 2 replies; 4+ messages in thread
From: Joel Pearson @ 2003-09-20 13:56 UTC (permalink / raw)
  To: netfilter

Hey,

I have a vnc server that is on my local lan at home that I'd like to be able
to access from the internet via my internet gateway linux box.  I've read a
little bit about it but I can't get my gateway to forward to ports, I've
tried this:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 5904 -s 192.168.0.2 -j
DNAT --to 192.168.0.25:5904
But it says it can't connect to the server. At the moment I'm just trying to
get the port forwarding to work on my local lan, but it doesn't seem to be
working. I've read of people haveing this working using a somewhat similar
iptables command, is there some module I'm supposed to load to make this
happen?  My server is running RedHat 8 with iptables v1.2.6a

Does anyone know why this isn't working?

Thanks

Joel





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-23  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-20 13:56 Access VNC Server via DNAT Joel Pearson
2003-09-22  8:02 ` Venkatesh. K
2003-09-22 12:06   ` Joel Pearson
2003-09-23  1:28 ` Mark E. Donaldson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox