> I take it back.
>
> When starting with INTERN_SERVER1, if I do an ipmasqadm portfw -l -n, then
the entries I expect are not there.  I suspect that starting at '1' just
doesn't load anything at all.

This is what I would expect to happen...indexed lists start with zero, and
continue to the first missing number.  If the zero entry is missing, no
other variables will be processes.

<snip>

> Making good progress on my Dachstein migration, but just had a hiccup
> with forwarding. The uncommented line (well they all would) from below
> gives me an error when starting the network: IP filters: portfw: Invalid
> protocol specified.
>
> The INTERN_SERVER section (not indexed) works ok, but I have too many
> entries. Those shown below are just some of what I have to do.
>
> # Advanced settings: parameters passed directly to portfw and autofw #
> Indexed list: "" #INTERN_SERVER0="-a -P PROTO -L LADDR LPORT -R RADDR
> RPORT [-p PREF]" INTERN_SERVER0="-a -P tcp -L 208.x.x.233 110 -R
> 192.168.1.233 110" #INTERN_SERVER1="-a -P tcp -L $PUB2_IP 143 -R
> $PRI2_IP 143" #INTERN_SERVER2="-a -P tcp -L $PUB2_IP 80 -R $PRI2_IP 80"
> #INTERN_SERVER3="-a -P tcp -L $PUB2_IP 443 -R $PRI2_IP 443"
> #INTERN_SERVER4="-a -P tcp -L $PUB2_IP 110 -R $PRI2_IP 110"
> #INTERN_SERVER5="-a -P tcp -L $PUB2_IP 5800 -R $PRI2_IP 5800"
> #INTERN_SERVER6="-a -P tcp -L $PUB2_IP 5900 -R $PRI2_IP 5900"
> #INTERN_SERVER7="-a -P tcp -L $PUB2_IP 110 -R $PRI2_IP 110"
> #INTERN_SERVER8="-a -P tcp -L $PUB0_IP 53 -R $PRI0_IP 53"
> #INTERN_SERVER9="-a -P udp -L $PUB0_IP 53 -R $PRI0_IP 53"

Looking through the scripts, the comments above are incorrect.  From the
actual procedure doing the port-forwarding:

# A function to portforward services, setup to be called by walk_list
# $1 = Name of environment variable to use for arguments
# Arguments as they should appear in the environment variable:
# protocol Laddr Lport Raddr [ Rport [ preference ] ]
port_forward () {

So...Remove the -a, -P, -L, and -R fields from your INTERN_SERVER entries,
start with INTERN_SERVER0, and everything should work properly.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to