View Single Post
  #1   (View Single Post)  
Old 19th May 2009
cerulean's Avatar
cerulean cerulean is offline
Port Guard
Join Date: May 2008
Location: Arizona
Posts: 18
Question pf & remote desktop protocol

this is not really freebsd specific but not sure where it should go..

I am attempting to setup quite a few of our Windows desktops with RDP through PF ... I can setup a port redirect to 3389 or change the port for a particular windows box and port redirect on that port, but I would *really* like to keep the windows boxes on the standard RDP port 3389 and then have the incoming port different (ie 3390, 3391, 3392, 3393, etc).

In graphical form:

WAN Port - -> PF Port Forwarding -> WinPC:3389 Works
WAN Port - -> PF Port Forwarding -> WinPC:3390 Works

But want...

WAN Port - -> PF Port Forwarding -> WinPC:3389

I tried the following rule but without success:

rdr on $ext_if proto tcp from any to any port 3133 -> port 3389

For the reason: When doing software updates, I operate on the local network and use remote desktop internally ... it would be nice not to maintain a list of each port (not to mention having to modify registry on each computer). I thought of possibly doing a VPN but given the extra configuration on the Windows box + additional support, keeping with just a port redirect RDP seems easier.

Thanks for any advice!!

Reply With Quote