Ubuntu 20.04 Server LTS
BIND9
If you want to have an Public IP address, you can have two technique :
Markdown :
Markdown
will be sharing about Reserved public VPS
Technique to have an Public IP on our Local VM.This tutorial is suitable for you if you want to access some apps with one domain, just different path /
localhost
to access localhost:5000
localhost/nodejs
to access localhost:3000
nano /etc/nginx/sites-enabled/default
This tutorial are suitable for you if you want to reverse multi endpoint with one domain different port.
localhost:8443
to access localhost:9200
localhost:8442
to access localhost:5601
nano /etc/nginx/sites-enabled/default
Expose to world your Apps on K8s On-Premises with Nginx Ingress + Metallb + OpenVPN
192.168.17.50
are Nginx Ingress External IP Generated by MetalLB.res.bignetlab.com
are Domain for this case.default.conf
are Nginx on Host (not on K8s stack).If you want to block port node exporter access from outside you can use this command
iptables -A INPUT -p tcp -s 10.7.0.0/24 --dport 9100 -j ACCEPT
iptables -A INPUT -p tcp -s localhost --dport 9100 -j ACCEPT
iptables -A INPUT -p tcp --dport 9100 -j DROP
10.7.0.0/24
& localhost
are IP ALLOWED to access port 9100
This documentation tested on Ubuntu 20.04 Server LTS.
stack.bignetlab.com/grafana