How do i forward a port?

Paul Bijnens email hidden
Wed Mar 22 00:05:06 CET 2006


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          *
***********************************************************************



More information about the fiaif mailing list