Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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 - xxx.xxx.xxx.xxx:3389 -> PF Port Forwarding -> WinPC:3389 Works
WAN Port - xxx.xxx.xxx.xxx:3390 -> PF Port Forwarding -> WinPC:3390 Works

But want...

WAN Port - xxx.xxx.xxx.xxx:3390 -> 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

pf, port redirect, rdp, windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Your Desktop OS? Carpetsmoker Off-Topic 81 13th November 2011 12:17 AM
Fastest 64 bit desktop OS? Randux General software and network 8 12th January 2009 12:05 AM
Blocking remote desktop apps bichumo General software and network 3 30th September 2008 08:14 PM
FreeBSD KDE/GUI DESKTOP HELP rave_mystery_inc FreeBSD Installation and Upgrading 5 5th July 2008 06:18 AM
[Help] Making the desktop in [BSD 7.0] seadog109 FreeBSD General 15 9th May 2008 05:10 AM

All times are GMT. The time now is 04:10 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick