Public bug reported:
I'm using 9.04 and libvirt-bin is of 0.6.1-0ubuntu5. I would like to
make port-forwarding setting easier.
With NAT network setup, a iptables FORWARD rule is created:
0 0 ACCEPT all -- * virbr0 0.0.0.0/0
10.1.1.0/24 state RELATED,ESTABLISHED
This rule, together with another 5 rules, prevent port-forwarding to
guest. What I need to do is to
1). Insert another rule before all these rules:
12065 2170K ACCEPT all -- * virbr0 0.0.0.0/0
10.1.1.0/24
2). Add a port-forwarding rule to PREROUTING table:
10 576 DNAT tcp -- eth0 * 0.0.0.0/0
1.2.3.4 tcp dpt:22 to:10.1.1.1:22
Step 2 is simple, as I could preset it, save it using iptables-save and
restore it on every reboot. However, step 1 is not a clean way to
achieve port-forwarding. Could libvirt config allows port-forwarding?
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
** Tags: libvirt port-forwarding
--
No port-forwarding to guest is possible
https://bugs.launchpad.net/bugs/385439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs