How do i forward a port?
Anders Peter Fugmann
email hidden
Wed Mar 22 18:54:46 CET 2006
Aditya Nag wrote:
> I got the logic, but I seem to be missing something somewhere. Let me
> tell you exactly what I have done:
>
> ZONE.EXT
>
> INPUT[0]="ACCEPT tcp http,www,112,80,3128,3389 0.0.0.0/0=>0.0.0.0/0"
No need for this rule.
> REDIRECT_RDP="tcp 3389 0.0.0.0/0=>0.0.0.0/0 10.10.0.1 3389"
^^
Is this the IP number you wish to redirect to? I guess this is the root
to your problems.
>
> 10.10.0.1 is the IP for the network card connected to the internal
> network on the server.
>
> ZONE.INT
> FORWARD[0]="ALL ACCEPT tcp 3389 0.0.0.0/0=>10.10.0.15"
>
> Where 10.10.0.15 is the static IP of the internal computer I want to
> access from the internet.
>
> I tried various combinations of these rules, but nothing seems to
> work. Am I doing something egregiously wrong??
>
> Thanks again for all the help!
Regards
Anders Fugmann
More information about the fiaif
mailing list