This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Newbie: Need Help with Port Forwarding??

Newbie here, I have read through the NATing primer doc several times and still Im really confused on how to setup what I think is port forwarding on my ASL 3.2 box.  I have recently added a second Linux box to my internal network.  Because I have two linux boxes now and both are running webmin, Im unsure how to go about setting up port 10021 on the External NIC of the FW and have that forward all requests to my new Linux box with webmin listening on 10000.  I have thought about using IP Aliases but would rather stear away from that solution if at all possible.  Any insight or even document recommendation would be greatly appreciated.

Thanks much,

DK 


This thread was automatically locked due to age.

  • Hi,
    What you need to do.
    On the ASL firewall box define the services in definitions ie:

    Extrn_Listen = Port 10021
    Extrn_Forward = Port 10000

    Define the other linux box in Definitions Networks:
    OtherLinuxBox = w.x.y.z

    Now go to NAT and setup a new DNAT/SNAT rule:

    Src: Any
    Dest Address: Red interface of firewall
    Service : Extrn_Listen

    Change src to: :No Change:
    Change Destination: OtherLinuxBox
    Service Destination: Extrn_forward

    Should work.



    [ QUOTE ]
    Newbie here, I have read through the NATing primer doc several times and still Im really confused on how to setup what I think is port forwarding on my ASL 3.2 box.  I have recently added a second Linux box to my internal network.  Because I have two linux boxes now and both are running webmin, Im unsure how to go about setting up port 10021 on the External NIC of the FW and have that forward all requests to my new Linux box with webmin listening on 10000.  I have thought about using IP Aliases but would rather stear away from that solution if at all possible.  Any insight or even document recommendation would be greatly appreciated.

    Thanks much,

    DK  

    [/ QUOTE ] 
  • Is anyone else thinking RTFM for Newbie?
    Please, for the love of God, Newbie, RTFM and do some experimentation.
    Port forwarding = DNAT