search for: forward_rule2

Displaying 1 result from an estimated 1 matches for "forward_rule2".

Did you mean: forward_rule1
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...- def self.forward(vm) - return unless vm.forward_vnc - - allocate_forward_vnc_port(vm) - if port_open?(vm.forward_vnc_port) - deallocate_forward_vnc_port(vm) - raise "Port already open " + vm.forward_vnc_port.to_s - end - - forward_rule1, forward_rule2 = get_forward_rules(vm) - forward_rule1 = IPTABLES_CMD + " -A FORWARD " + forward_rule1 - forward_rule2 = IPTABLES_CMD + " -A FORWARD " + forward_rule2 - - prerouting_rule, postrouting_rule = get_nat_rules(vm) - prerouting_rule = IPTABLES_CMD + " -t...