Hi,
I just upgraded one of my boxes to openSolaris 2009.06 that's been running with 
the same /etc/ipf/ipnat.conf file since openSolaris 2008.05
My ipnat.conf looks like:

ext_if = aggr2;
baransky = "192.168.230.130"; # Wiki
rdr $ext_if $baransky port https -> $baransky port 8443

# /usr/sbin/ipnat -CF -f /etc/ipf/ipnat.conf
0 entries flushed from NAT table
4 entries flushed from NAT list
syntax error error at "aggr2", line 3

If I remove the variable declaration, and change $baransky to 192.168.230.130 - 
it works
Even if I just leave the variable declaration there, I get a syntax error.

I've tried with single quotes and no quotes around the ip address.

I also get the error if I do this:
ext_if = "aggr2";
rdr $ext_if 192.168.230.130 https -> 192.168.230.130 port 8443

I've shortened things a bit, and obfiscated the IP address as I have about 15 
entries like this.
-- 
This message posted from opensolaris.org

Reply via email to