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

Hetzner----Proxmox----KVM----Astaro----vservers

Hello
I have an dedicated EQ4 Server from Hetzner.
I has order 3 additional IPś.
The following setup i try to setup:

Internet----Proxmox-----Astaro.in.kvm----my.vservers.in.DMZ

With this Setup i want Protect my vservers.
My Proxmox /etc/network/interface
auto eth0

iface eth0 inet static
        address  176.9.17.15
        netmask  255.255.255.224
        gateway  176.9.17.1
        broadcast  176.9.17.31
        pointopoint  176.9.17.1
        post-up mii-tool -F 100baseTx-FD eth0
        post-up echo 1 > /proc/sys/net/ipv6/conf/eth0/proxy_ndp
        post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward

auto vmbr0
iface vmbr0 inet static
        address  176.9.17.15
        netmask  255.255.255.224
        broadcast  176.9.17.31
        bridge_ports none
        bridge_stp off
        bridge_fd 0
        up ip route add 176.9.33.12 dev vmbr0
        up ip route add 176.9.33.14 dev vmbr0
        up ip route add 176.9.27.26 dev vmbr0

auto vmbr1
iface vmbr1 inet manual
        bridge_ports none
        bridge_stp off
        bridge_fd 0

So i  has install Astaro without Problems, in Proxmox i give the Astaro 3x vmbr0 for 3 NICs  WAN/Internal/DMZ

From the Network ports config in Astaro i has made Pictures.
When i make an vserver for  internal it get an automatic Lokal IP and get acces to internet all so how i want it. But what must i do when i want an vserver in DMZ with an static ip from the ips i get from hetzner?
thank you


This thread was automatically locked due to age.
Parents
  • You want any server to have an internal (local) IP addresses.  What you want to do is in the interfaces sections of WebAdmin, add your other static IPs in the Additional Addresses Tab.  Then you can setup DNAT and SNAT rules to forward traffic to the vserver and have traffic going out from the vserver show as having the additional IP as the source.
  • Thank You for helping me [:D]

    I has add the IPś to the WAN IP under section additional IPś.
    Than i going to NETWORKSECURITY-----NAT-----DNAT/SNAT-------NEWNATRULE
    There i make an SNAT and an DNAT Rule for the vserver ip.
    But its not working , i has made some pictures.
Reply Children
No Data