News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Firewall/NAT
Topic: Port forwarding - what am I doing wrong? -solved by fredg-
Pages: [
1
]
Topic: Port forwarding - what am I doing wrong? -solved by fredg- (Read 1975 times)
Port forwarding - what am I doing wrong? -solved by fredg-
« on: February 27, 2009, 17:48:02 »
moose722
Posts: 4
Trying to forward VNC ports across the M0n0wall to an internal host.
I have NAT:Inbound set up as the following:
If: WAN
Proto: TCP/UDP
Ext port range: 5900
NAT IP: 192.168.x.x (ip address of internal workstation)
Int. port range: 5900
I have Firewall:Rules set up as the following:
WAN
Proto: TCP/UDP
Source: *
Port: 5900
Destination: 192.168.x.x (ip address of internal workstation)
Port: 5900
When I test connecting to their external IP address with VNC from a computer outside of the office, the connection times out.
I can connect to the computer via VNC internally.
I am guessing I have done something wrong with the config, but I'm stumped. Any advice would be greatly appreciated!
«
Last Edit: February 27, 2009, 19:01:56 by moose722
»
Re: Port forwarding - what am I doing wrong?
« Reply #1 on: February 27, 2009, 17:53:48 »
Fred Grayson
Posts: 994
I suggest changing this:
WAN
Proto: TCP/UDP
Source: *
Port: 5900
Destination: 192.168.x.x (ip address of internal workstation)
Port: 5900
To this:
WAN
Proto: TCP/UDP
Source: *
Port: *
Destination: 192.168.x.x (ip address of internal workstation)
Port: 5900
--
Google is your friend and Bob's your uncle.
Re: Port forwarding - what am I doing wrong?
« Reply #2 on: February 27, 2009, 18:17:41 »
moose722
Posts: 4
That did the trick! thanks fredg!
Re: Port forwarding - what am I doing wrong? -solved by fredg-
« Reply #3 on: February 28, 2009, 15:24:51 »
Flaughs2000dotcom
Posts: 5
Thinking of security...
Make sure you have a really secure password and I would recomend changing the external port to something non VNC standard.
IE
On the NAT page
WAN TCP 678 192.168.1.148 5900
On the firewall page
TCP * * 192.168.1.148 5900
Then on the VNC client for the host addy put "pub ip:678"
Or even better yet tunnel the VNC thru VPN this exposes less open ports to the bad internet.
Pages: [
1
]