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

NAT'ing under ASL 4.0

Hello,

I am very new to astaro, having just inherited the system, and unfortunately networking is NOT my strong point.  I need to set up a rule to forward all traffic directed to xxx.xxx.xxx.xxx port 1025 (a random unused port) to yyy.yyy.yyy.yyy port 80. How would I do this?  Unfortunately I already RTFM and apparently did it wrong so any help would be MUCH appreciated.

Thanks!


This thread was automatically locked due to age.
Parents
  • Try this way:
    a- define the network interfaces, assigning each of them a proper useful name (mnemonics always works!)
    b- check if port 1025 is already defined in the services, if not, do it
    c- go to Networks and select DNAT.
    d- give a name to it 
    e- place your destination address definition (the one you named after the IP in xxx.xxx.xxx.xxx) in the field named "Destination address" 
    f- choose the service name that you created for port 1025 and place it nearby in the service field
    g- select the destination definition that you named for yyy.yyy.yyy.yyy and place it in the Address field for the Destination
    h- change the service port in the Service destination field, to the HTTP one (port 80).
    i- create an appropriate rule in the PF to allow the traffic flow.

    (j- come back here and confirm that it works )

    friscom
Reply
  • Try this way:
    a- define the network interfaces, assigning each of them a proper useful name (mnemonics always works!)
    b- check if port 1025 is already defined in the services, if not, do it
    c- go to Networks and select DNAT.
    d- give a name to it 
    e- place your destination address definition (the one you named after the IP in xxx.xxx.xxx.xxx) in the field named "Destination address" 
    f- choose the service name that you created for port 1025 and place it nearby in the service field
    g- select the destination definition that you named for yyy.yyy.yyy.yyy and place it in the Address field for the Destination
    h- change the service port in the Service destination field, to the HTTP one (port 80).
    i- create an appropriate rule in the PF to allow the traffic flow.

    (j- come back here and confirm that it works )

    friscom
Children
No Data