[Firehol-support] Port porwarding
Carlos Rodrigues
carlos.efr at mail.telepac.pt
Wed Jun 21 14:31:55 BST 2006
On 6/21/06, Pieter Steyn <pieter at clue.co.za> wrote:
> Hi guys,
>
> I have :
>
> server_rdp_ports"tcp/3389 tcp/3390 tcp/3391"
> client_rdp_ports"any"
>
> server rdp accept dst "10.0.0.110 10.0.0.111 10.0.0.100"
>
> I want connections to port 3390 sent to 10.0.0.110 on port 3389. And
> connections to port 3391 sent to 10.0.0.111 on port 3389, and default 3389 to
> 10.0.0.100 on default 3389.
>
> How would I do this?
"dnat to 10.0.0.100 proto tcp dport 3390"
"dnat to 10.0.0.110:3389 proto tcp dport 3390"
...
or if you wish to allow forwarding only from a specific interface:
"dnat to 10.0.0.110:3389 inface ${your_interface} proto tcp dport 3390"
--
Carlos Rodrigues
More information about the Firehol-support
mailing list