Hi All!
I have new in opensolaris and mailing list too, so i don't know if appeal
for help here is right.
my problem: I want redirect port for one machine, but have a problem:
% cat /etc/ipf/ipnat.conf
rdr bnx0 from 10.101.3.136/32 to 10.100.0.2/32 port = 25 -> 10.100.0.2
port 5056
% ipnat -CF -f /etc/ipf/ipnat.conf
0 entries flushed from NAT table
4 entries flushed from NAT list
3:ioctl(add/insert nat rule): Invalid argument
% svcs ipfilter
STATE STIME FMRI
online 19:16:34 svc:/network/ipfilter:default
% ipnat -l
List of active MAP/Redirect filters:
List of active sessions:
% ipf -V
ipf: IP Filter: v4.1.9 (592)
Kernel: IP Filter: v4.1.9
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 1
Feature mask: 0x107
% uname -a
SunOS whitehole 5.11 snv_111b i86pc i386 i86pc
Note: for example rule rdr bnx0 0.0.0.0/0 port 25-> 10.100.0.2 port 5056
works correctly.
I will be grateful for any help. Best regards.
--
Jurda
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org