port redirection on solaris 11
Posted
by
mo3lyana
on Server Fault
See other posts from Server Fault
or by mo3lyana
Published on 2012-10-25T10:32:00Z
Indexed on
2012/10/25
11:03 UTC
Read the original article
Hit count: 308
I'm trying port forwarding on solaris 11. I have a mechine behind a server that use solaris 11. I try to access that mechine from the external port, and forwarded by solaris 11 mechine to that machine using the ip filter. I give ipnat.conf configuration like this:
rdr net0 0.0.0.0/0 port 1428 -> 10.1.18.178 port 22
but the response appeared when I tried to remote is connection time out, but if I redirect to a solaris 11 machine itself, the configuration is running well.
I've enabled IP forwarding on the system
root@solaris11:/etc/ipf# ndd -get /dev/ip ip_forwarding
1
root@solaris11:/etc/ipf# routeadm
Configuration Current Current
Option Configuration System State
---------------------------------------------------------------
IPv4 routing enabled enabled
IPv6 routing disabled disabled
IPv4 forwarding enabled enabled
IPv6 forwarding disabled disabled
root@solaris11:/etc/ipf# ipadm show-prop
PROTO PROPERTY PERM CURRENT PERSISTENT DEFAULT POSSIBLE
ipv4 forwarding rw on on off on,off
is there any configuration that I missed?
© Server Fault or respective owner