[Firehol-support] dnat and port redirection question....

Les Stott les at cyberpro.com.au
Sun Jul 15 15:59:22 BST 2007


Ok,

i have an internal lan, say 192.168.1.0

I have two internal servers that i want to access rdp ports on. 
Obviously i can use DNAT rules, but i cant do both for 3389. or not that 
i know of.

SERVER1=192.168.1.11
SERVER2=192.168.1.99

if i have server1 as ......

dnat to $SERVER1 inface ppp+ proto tcp dport "3389"

router in2server1 dst $SERVER2 inface ppp+
        masquerade reverse
        server rdp accept

That means 3389 is "taken" on the firewall.

How can i setup the firewall so that it also accepts rdp to port 3390, 
but redirects it to SERVER2 which listens on port 3389 also????

TIA

Regards,

Les




More information about the Firehol-support mailing list