<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>kvm nat — LowEndSpirit</title>
        <link>https://staging.lowendspirit.com/index.php?p=/</link>
        <pubDate>Fri, 10 Apr 2026 17:53:18 +0000</pubDate>
        <language>en</language>
            <description>kvm nat — LowEndSpirit</description>
    <atom:link href="https://staging.lowendspirit.com/index.php?p=/discussions/tagged/kvm-nat/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>How to Become an One-Man NAT VPS Provider?</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/5939/how-to-become-an-one-man-nat-vps-provider</link>
        <pubDate>Sat, 20 May 2023 06:31:42 +0000</pubDate>
        <category>LES Talk</category>
        <dc:creator>tang_cn</dc:creator>
        <guid isPermaLink="false">5939@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Assume you have a dedicated server with /64 IPv6, and your goal is to create some IPv6 NAT VMs. How do you do it? Below is a tutorial about how to install QEMU/KVM and create VMs on Debian via the command line.</p>

<hr />

<h1>0. Advance Notice</h1>

<ul>
<li>Special thanks to <a href="https://staging.lowendspirit.com/index.php?p=/profile/Not_Oles" rel="nofollow">@Not_Oles</a> !</li>
<li>This tutorial has been verified to work with Debian 11 on Hetzner's dedicated server.</li>
<li>All commands are executed as root.</li>
<li><p>In this tutorial the host's network configuration is:<br />
<code>Network Interface: eno1</code><br />
<code>IPv4 Address: 192.0.2.2/26</code><br />
<code>IPv4 Gateway: 192.0.2.1</code><br />
<code>IPv6 Address: 2001:db8:ace:babe::1/64</code><br />
<code>IPv6 Gateway: fe80::1</code></p></li>
<li><p>We want to create a private network <code>192.168.0.0/24</code> for VMs; we want to use <code>192.168.0.1</code> as the IPv4 gateway and <code>2001:db8:ace:babe::1</code> as the IPv6 gateway for VMs.</p></li>
<li>We want to create a VM whose IPv4 address is <code>192.168.0.2</code> and IPv6 address is <code>2001:db8:ace:babe:cafe::1/80</code>.</li>
</ul>

<h1>1. Enable IP Forwarding</h1>

<p>Open <code>/etc/sysctl.conf</code>. Find <code>net.ipv4.ip_forward</code>; uncomment this line and set the value to <code>1</code>. Do the same for <code>net.ipv6.conf.all.forwarding</code>.</p>

<p>Save the file; then run <code>sysctl -p</code> to apply changes.</p>

<h1>2. Install Required Packages</h1>

<p><code>apt install qemu-system qemu-utils libvirt-clients libvirt-daemon-system virtinst bridge-utils</code></p>

<h1>3. Modify the Network Configuration</h1>

<h3>3.1 Make a copy of the original <code>/etc/network/interfaces</code></h3>

<p><code>cp -p /etc/network/interfaces /etc/network/interfaces.backup</code></p>

<h3>3.2 Open <code>/etc/network/interfaces</code> and edit</h3>

<p>Comment out eno1's IPv6 configuration, then add the following line:</p>

<p><code>iface eno1 inet6 manual</code></p>

<p>Continue to add the following lines to create an interface <code>br0</code>  for KVM networking:</p>

<pre><code>auto br0
iface br0 inet static
    address 192.168.0.1/24
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    post-up iptables -t nat -A POSTROUTING -s '192.168.0.0/24' -o eno1 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '192.168.0.0/24' -o eno1 -j MASQUERADE
iface br0 inet6 static
    address 2001:db8:ace:babe::1/64
    up ip -6 route add default via fe80::1 dev eno1
</code></pre>

<p><code>bridge ports none</code> means br0 is not attached to any physical interface. <code>bridge_stp off</code> disables Spanning Tree Protocol; usually we don't need it in simple cases. <code>bridge_fd 0</code> sets the forwarding delay time to 0; 0 is good in simple cases. The <code>iptables</code> line allows LAN nodes with private IP addresses to communicate with external public networks. The <code>ip -6 route</code> line specifies the IPv6 gateway.</p>

<p>Save the file; then run <code>systemctl restart networking.service</code> to apply changes.</p>

<p></p><details><summary>Example: my ORIGINAL /etc/network/interfaces</summary>

<pre><code>source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eno1
iface eno1 inet static
    address 192.0.2.2
    netmask 255.255.255.192
    gateway 192.0.2.1
    # route 192.0.2.0/26 via 192.0.2.1
    up route add -net 192.0.2.0 netmask 255.255.255.192 gw 192.0.2.1 dev eno1
iface eno1 inet6 static
    address 2001:db8:ace:babe::1
    netmask 64
    gateway fe80::1
</code></pre>

<p></p></details><br />
<details><summary>Example: my NEW /etc/network/interfaces</summary>

<pre><code>source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto eno1
iface eno1 inet static
    address 192.0.2.2
    netmask 255.255.255.192
    gateway 192.0.2.1
    # route 192.0.2.0/26 via 192.0.2.1
    up route add -net 192.0.2.0 netmask 255.255.255.192 gw 192.0.2.1 dev eno1
iface eno1 inet6 manual

auto br0
iface br0 inet static
    address 192.168.0.1/24
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    post-up iptables -t nat -A POSTROUTING -s '192.168.0.0/24' -o eno1 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '192.168.0.0/24' -o eno1 -j MASQUERADE
iface br0 inet6 static
    address 2001:db8:ace:babe::1/64
    up ip -6 route add default via fe80::1 dev eno1
</code></pre>

<p></p></details>

<h1>4. Create the VM</h1>

<p><code>virt-install --name YOUR_VM_NAME --ram MEMORY_SIZE_IN_MB --vcpus=NUMBER_OF_CORES --disk /PATH/TO/VIRTUAL/DISK/IMAGE.qcow2,device=disk,bus=virtio,size=DISK_SIZE_IN_GB,format=qcow2 --graphics vnc,listen=0.0.0.0,port=VNC_PORT,password=VNC_PASSWORD --network bridge=br0 --noautoconsole --cdrom /PATH/TO/ISOFILE.iso --boot cdrom,hd</code></p>

<p></p><details><summary>Example</summary><br />
We want to create a VM whose name is TEST with 1GB memory, 1 core, and 10GB disk. TEST will be stored at /var/kvm/TEST.qcow2. The VNC port is 5901 and the VNC password is Hello1. We will use /var/iso/Debian.iso to install Debian on TEST.

<p><code>virt-install --name TEST --ram 1024 --vcpus=1 --disk /var/kvm/TEST.qcow2,device=disk,bus=virtio,size=10,format=qcow2 --graphics vnc,listen=0.0.0.0,port=5901,password=Hello1 --network bridge=br0 --noautoconsole --cdrom /var/iso/Debian.iso --boot cdrom,hd</code><br />
</p></details>

<h1>5. Configure Guest Networking</h1>

<p>Because we haven't configured the DHCP service on the host, we have to manually set the VM network settings. If you are using a netinst image to install the OS, then you need to set the IP address to 192.168.0.2/24 and the gateway to 192.168.0.1 during the installation.</p>

<p></p><details><summary>Example: Debain guest /etc/network/interfaces</summary>

<pre><code>source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug ens3
iface ens3 inet static
    address 192.168.0.2/24
    gateway 192.168.0.1
iface ens3 inet6 static
    address 2001:db8:ace:babe:cafe::1/80
    dns-nameservers 2606:4700:4700::1001
    gateway 2001:db8:ace:babe::1
</code></pre>

<p></p></details>
]]>
        </description>
    </item>
    <item>
        <title>WebHorizon exits KVM NAT market</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/3368/webhorizon-exits-kvm-nat-market</link>
        <pubDate>Wed, 22 Sep 2021 19:32:27 +0000</pubDate>
        <category>Industry News</category>
        <dc:creator>yoursunny</dc:creator>
        <guid isPermaLink="false">3368@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Dear push-up specialist,</p>

<p><strong>KVM NAT Poland - WAW-K1 - Add your free dedicated IPs now!</strong></p>

<p>As some of you might be aware, we stopped allowing new orders for KVM based NAT services a few months ago soon after launch due to unforeseen reasons.</p>

<p>These KVM based NAT services are now in the process of being converted into dedicated IP services.</p>

<p><strong>All services will be assigned a new dedicated IPv4 &amp; IPv6 subnet for FREE. Service pricing will remain the same.</strong></p>

<p><strong>Please create a ticket with the Support Department to get your new dedicated IPs assigned.</strong></p>

<p>In case of no response before 26.09.2021 (Sunday), a new dedicated IPv4 &amp; IPv6 will be assigned by us automatically.</p>

<p>We are continually trying to improve the service experience &amp; apologize for any inconvenience if this might cause.</p>

<p>Please a ticket in case of additional queries.</p>

<p>WebHorizon Helpdesk</p>

<hr />

<p>I have 1GB for $15/year because it was a preorder.<br />
After adding IPv4, it would be a $33/year value,<br />
But I feel sorry for wasting IPv4, because my apps can run fine with just a few ports.</p>
]]>
        </description>
    </item>
    <item>
        <title>KVM NAT VPS - Singapore &amp; Poland | IPv6 + NAT IPv4 + HAProxy</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/2796/kvm-nat-vps-singapore-poland-ipv6-nat-ipv4-haproxy</link>
        <pubDate>Wed, 14 Apr 2021 09:40:44 +0000</pubDate>
        <category>Offers</category>
        <dc:creator>Abdullah</dc:creator>
        <guid isPermaLink="false">2796@/index.php?p=/discussions</guid>
        <description><![CDATA[<p><strong>All new KVM NAT VPS</strong></p>

<p>All plans include:</p>

<p>NVMe/SSD disk space<br />
High-performing CPUs<br />
KVM Virtualization<br />
Custom ISO possible<br />
Dedicated  IPv6 <br />
NAT IPv4 - 50 static public ports + HAProxy on port 80 &amp; 443 (use own domain)<br />
Standard Helpdesk Support Included<br />
1 Gbps Port Speeds<br />
High Bandwidth Allocation - Unlimited@reduced speed after reaching the quota.</p>

<p><br /></p>

<p><strong>Locations available:</strong><br />
EU - Warsaw, Poland 🇵🇱  <a rel="nofollow" href="http://waw.lg.webhorizon.in">Network Looking glass</a><br />
APAC - Singapore 🇸🇬 <a rel="nofollow" href="http://sgp4.lg.webhorizon.in">Network Looking Glass</a> (((NEW NETWORK)))</p>

<p><br /></p>

<p><strong>KVM-NAT-256MB</strong></p>

<ul>
<li>1 CPU Core(s) (fair share)</li>
<li>256MB RAM + 128MB swap</li>
<li>5GB NVMe/SSD disk space</li>
<li>/80 IPv6 + NAT IPv4</li>
<li>KVM Virtualization</li>
<li>750GB  /  250GB   bandwidth@1Gbps</li>
<li><a rel="nofollow" href="https://my.webhorizon.in/order/config/index/kvm-ipv6/?group_id=36&amp;pricing_id=392">Order Poland</a>   /   <a rel="nofollow" href="https://my.webhorizon.in/order/config/index/kvm-ipv6/?group_id=37&amp;pricing_id=400">Order Singapore</a>  -  USD $10/y</li>
</ul>

<p><br /></p>

<p><strong>KVM-NAT-0.5GB</strong></p>

<ul>
<li>1 CPU Core(s) (fair share)</li>
<li>512MB RAM</li>
<li>5GB NVMe/SSD disk space</li>
<li>/80 IPv6 + NAT IPv4</li>
<li>KVM Virtualization</li>
<li>1TB  /  375GB   bandwidth@1Gbps</li>
<li><a rel="nofollow" href="https://my.webhorizon.in/order/config/index/kvm-ipv6/?group_id=36&amp;pricing_id=393">Order Poland</a>   /   <a rel="nofollow" href="https://my.webhorizon.in/order/config/index/kvm-ipv6/?group_id=37&amp;pricing_id=402">Order Singapore</a>  -  USD $18/y</li>
</ul>

<p><br /></p>

<p><strong>KVM-NAT-2GB</strong></p>

<ul>
<li>2 CPU Core(s) (fair share)</li>
<li>2GB RAM</li>
<li>25GB NVMe/SSD disk space</li>
<li>/80 IPv6 + NAT IPv4</li>
<li>KVM Virtualization</li>
<li>Windows Supported</li>
<li>4TB  /  1TB   bandwidth@1Gbps</li>
<li><a rel="nofollow" href="https://my.webhorizon.in/order/config/index/kvm-ipv6/?group_id=36&amp;pricing_id=395">Order Poland</a>   /   <a rel="nofollow" href="https://my.webhorizon.in/order/config/index/kvm-ipv6/?group_id=37&amp;pricing_id=406">Order Singapore</a>  -  USD $5.4/m</li>
</ul>

<p><br /></p>

<p>===Please turn off your proxy/VPN while placing order===</p>

<p><br /></p>

<p>Feel free to ask any questions you might have <img src="https://staging.lowendspirit.com/plugins/emojiextender/emoji/twitter/smile.png" title=":)" alt=":)" height="18" /></p>
]]>
        </description>
    </item>
   </channel>
</rss>
