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

Multiple IP addresses through astaro?

Hi, I'm sure this is a simple question, but I'm a firewall newbie.  I have a block of static IP addresses from my service provider CBeyond.  I'd like to have my home network setup on one IP, and setup servers on the other IP addresses.

To do this before ASL, I'd just connect a generic switch to the CBeyond router (x.y.z.1/29).  Attach my Linksys WRT54G (x.y.z.2/29) to the switch with the CBeyond router as the gateway.  Then attach a server to the switch and assign it another static IP (x.y.z.3/29), and so on.  Easy, but no firewall.

How do I run this through ASL where both the server and my home network are behind the Astaro firewall?  See diagram.

I have my "Internal (Network) > All / All" masquerade setup with a packet filter rule "Internal (Network) Any / Any."  I made Astaro the DHCP server for the Internal interface, and turned on proxies.  So the internal clients work great.

I also added a new network interface called "server3" on eth1 (external) of type Additional address on ethernet interface.  I gave it x.y.z.3/29 and no default gateway.  From outside, I can ping x.y.z.1 (my CBeyond router), x.y.z.2 (my Astaro box), and x.y.z.3 (the additional address on astaro).  But how do I tie x.y.z.3 to a particular server on astaro's eth2 interface?  Or am I going about this the wrong way?



This thread was automatically locked due to age.
Parents
  • A SNAT translation for each EXT IP would be one way to do it.

    Barry
  • Hi tvuolo,

    thanks for this pretty chart, looks nice.

    In order to map outgoing traffic of Server1 to IP x.y.z.3, 
    you need to create an SNAT rule:
    SRC: 192.168.2.3 SVC: Any DST: Any:
    SNAT to: Server3 Interface (Address)


    In order to map incoming traffic to IP x.y.z.3 to Server 1, 
    you need to create a DNAT rule
    SRC: Any SVC: Any DST: Server3 Interface (Address)
    DNAT to: 192.168.2.3

    than you can use the packetfilter rule to allow/disallow who should get access and who not.

    Best regards
    Gert
Reply
  • Hi tvuolo,

    thanks for this pretty chart, looks nice.

    In order to map outgoing traffic of Server1 to IP x.y.z.3, 
    you need to create an SNAT rule:
    SRC: 192.168.2.3 SVC: Any DST: Any:
    SNAT to: Server3 Interface (Address)


    In order to map incoming traffic to IP x.y.z.3 to Server 1, 
    you need to create a DNAT rule
    SRC: Any SVC: Any DST: Server3 Interface (Address)
    DNAT to: 192.168.2.3

    than you can use the packetfilter rule to allow/disallow who should get access and who not.

    Best regards
    Gert
Children