-
nikolamWhat's the best manual for setting up networking on SmartOS , for using single IP for zones (not getting new IP for gateway zone, but single IP for the whole machine)
-
nikolamnone of the manuals I found and tried didn't work for me, for using single IP and share it to zones
-
nikolamI like the most firewall/nat zone providing internet to other zones, yet that worked when I have more local IPS for Smartos machine, not just only one
-
nikolamSo basically, that firewall zone needs to have full access to internet using same IP as global zone / admin
-
nikolamOr I should just give up for time being for setting up zones for same-IP Smartos install, on shot notice.
-
nikolamDidn't get internet access form the zone with gist.github.com/baetheus/5e1e5ab1eb68fae3490d
-
nbjoergnikolam: I don't have a manual, only a setup that works :)
-
nikolamWould love to use that zone as a firewall for others.
-
nikolamnbjoerg, :P
-
nbjoergin my case I use /opt/custom in the gz to do NAT + routing
-
nikolamif it lies in /opt/custom/share/svc/smartos_setup.sh maybe I could replicate
-
nikolamI put the solution where there's separate firewall zone on 2 machine (was 3) and I can work with it fine, but not with single IP
-
nbjoerg
-
nbjoergthat's the idea of what I use
-
nikolamthanks nbjoerg
-
nbjoergyou can replace the dhcpcd use with a static config, that's a pecularity of my hoster
-
nikolamI also use something special on that instance on Herzner cloud for DHCP
-
nbjoergscaleway in my case
-
nikolamroute add -host 172.31.1.1 X.X.X.X -interface -ifp vioif0 route add -inet default 172.31.1.1 route add -host -inet6 fe80::1 X:X:X:X::1 -interface -ifp vioif0 route add -inet6 default fe80::1
-
nikolamI actually got it all by gist.github.com/baetheus/5e1e5ab1eb68fae3490d but zone can't ping anything after global zone gateway..
-
nikolamBasically would love to give power of single Ip to this: web.archive.org/web/20220703031731/…//timboudreau.com/blog/smartos/read
-
nikolamI like how you link ipf and ipnat rules