Displaying 4 results from an estimated 4 matches for "vgerris".
2015 Jun 08
2
Re: Recommended change for the networking page in wiki
...sing /bin/sh, but it did with /bin/bash, so I
>> changed that too).
>
> I don't know for sure, but my guess is that this line:
>
> length=$(( ${#Host_port[@]} - 1 ))
Correct - that line is a bashism, and is not portable when /bin/sh is dash.
>
> which was added by vgerris in order to support forwarding of multiple
> ports, could be what's causing the incompatibility (that wasn't in the
> original, simpler version of the script, written by me.)
>
>>
>> *#!/bin/bash*
>> # used some from advanced script to have multiple ports: use an...
2015 Jun 12
0
Re: Recommended change for the networking page in wiki
...> >> changed that too).
> >
> > I don't know for sure, but my guess is that this line:
> >
> > length=$(( ${#Host_port[@]} - 1 ))
>
> Correct - that line is a bashism, and is not portable when /bin/sh is dash.
>
> >
> > which was added by vgerris in order to support forwarding of multiple
> > ports, could be what's causing the incompatibility (that wasn't in the
> > original, simpler version of the script, written by me.)
> >
> >>
> >> *#!/bin/bash*
> >> # used some from advanced script t...
2015 Jun 08
3
Recommended change for the networking page in wiki
Hello all,
I was told on IRC that I should come here to discuss a recommended change
on the networking page in the wiki.
If you take a look at the "Basic Script" shown here:
http://wiki.libvirt.org/page/Networking#Forwarding_Incoming_Connections
It does two things:
1) Create a DNAT rule in the NAT table of IPTABLES
2) Create a FORWARD rule in the FILTER table of IPTABLES
The FORWARD
2015 Jun 12
1
Re: Recommended change for the networking page in wiki