I have a SmartOS zone running a webserver thru NAT. That is, the public
IP is XXX, but the SmartOS zone local IP is YYY. That works fine when
connecting from Internet, but I need to be able to connect to XXX from
inside the zone. Something similar to ipnat "rdr" to send locally
initiated connections to XXX transparently redirected to YYY. Ideally,
this should be able to work both in the local zone and other zones
running in the same etherstub.

I am trying something like ipnat's:

rdr net0 XXX port 80 -> YYY port 80 tcp

but it doesn't work neither in the webserver zone neither in other zones
in the same etherstub.

Suggestions?.

Thanks!.

PS: In linux, it would be something similar to
<https://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/>.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
[email protected] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:[email protected]  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

Attachment: signature.asc
Description: OpenPGP digital signature




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to