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

Set up NAT with block of IPs from ISP

I have a block of 5 usable IP's from my ISP. I would like to set up NAT to map all of the address to certian servers inside.

Astaro V4

192.168.1.201 = Internal_If (STD Ethernet)

x.x.x.128 = Network 
x.x.x.129 = Router to ISP (My Gateway)
x.x.x.130 = External_If (STD Ethernet)
x.x.x.131 = would like to be web server
x.x.x.132 = would like to be mail server
x.x.x.133 = would like to be ftp server
x.x.x.134 = would like to be some-other server
x.x.x.135 = Broadcast

I know how to set up NAT using the External_If NAT'ed to an internal server but how do I add the others?

Thanks.  


This thread was automatically locked due to age.
Parents
  • You would create the additional IPs on the external interface of your ASL.
    Create DNAT rules such that all services on eack external IP would be redirected to the corresponding internal IP.
    Then create SNAT rules for each internal IP to change the internal IP to the corresponding external IP of your ASL.

    Example:
    DNAT:
    Source: any, Service: any
    Dest: 1.2.3.131 (external ASL IP for webserver)
    Change Dest to: 192.168.1.131 (internal IP of webserver)
    Change service: none

    SNAT:
    Source: 192.168.1.131, Service: any
    Change Source to: 1.2.3.131
    Change service: none

    This will redirect all incoming traffic on 1.2.3.131 to 192.168.1.131 and have any outbound traffic from 192.168.1.131 appear as if it came from 1.2.3.131.

    No sweat. 
  • Hey Jim, Thanks! I think this should be as easy as pie for the next forum surfer =) 
Reply Children
No Data