How do i forward a port?

Aditya Nag email hidden
Wed Mar 22 08:36:56 CET 2006


Thanks for the reply, but I'm a little unclear on a few things. Do I
need to set up a forward rule in zone.int or zone.ext? I tried both
and it's not working. If it's possible, could you please send me a
slightly more detailed explanation. I feel rather stupid for not being
able to figure this out, but it's one of those things where you just
get stuck!

Thanks again for your help,
Aditya

On 3/22/06, Paul Bijnens <paul.bijnens at xplanation.com> wrote:
> Aditya Nag schreef:
> > I have fiaif running on my server, which has two network cards. One is
> > connected to the internet with a static public IP, and the other is
> > connected to my class B network. I have a machine on the internal
> > network that I have to access from outside the network using windows
> > remote desktop. The internal IP is 10.10.0.15 and the port to be
> > forwarded is 3389.
> >
> > I am using zone.int and zone.ext, and am not using zone.dmz.
> >
> > I have tried doing the following:
> > 1. in zone.ext, I have allowed the port by doing
> > INPUT [4] "ACCEPT tcp 3389 0.0.0.0/0=>0.0.0.0/0"
>
> You need to allow to FORWARD the packet instead of allow to INPUT it.
> Input is for the host itself.
>
>
> >
> > 2.In zone.ext I have setup a REDIRECT rule by doing this:
> >
> > REDIRECT_RDP="tcp 3389 0.0.0.0/0=>0.0.0.0/0 10.10.0.15 3389"
>
>
> --
> Paul Bijnens, Xplanation                            Tel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> http://www.xplanation.com/          email:  Paul.Bijnens at xplanation.com
> ***********************************************************************
> * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
> * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> ***********************************************************************
>


--
www.adityanag.org



More information about the fiaif mailing list