Hello,
I need to run a specific nat on a Sun T2000 machine running "Solaris 10 11/06
s10s_u3wos_10 SPARC".
The running ipfilter is not the original one coming with Solaris 10, I removed
it and installed
from sources "IP Filter: v4.1.28 (600)" and it's working great since may 2009.
The machine has 2 ethernets, one public (e1000g0) and one private (ce0).
Normal nats and firewall rules already run great.
Now, I have a router (192.168.102.134) in the LAN going to a vpn (to
192.168.138.0).
This router accepts connections only from the T2000 private IP
(192.168.102.102).
I need to masquerade private traffic coming from (192.168.122.x, another
private network
coming from another vpn) going to 192.168.138.0 with the T2000 private ip.
The source vpn routers are already configured to route traffic going to
192.168.138.0 through
the T2000 ip.
Looking at the documentation, I tried doing this:
map ce0 192.168.122.0/24 to 192.168.138.0/24 -192.168.102.102/32
but reloading the rules, ipnat complains that the "to" keyword is a bad
syntax...
Why?
Gabriele.
Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com
-= Mail sent through WebTop2 =-