Add certs

main
Gasper Spagnolo 2022-11-19 14:24:35 +01:00
parent ddc2b34fa9
commit 3b6c94cac0
2 changed files with 5 additions and 3 deletions

3
certs.md Normal file
View File

@ -0,0 +1,3 @@
# CERTS
https://stackoverflow.com/questions/66604487/how-do-i-generate-fullchain-pem-and-privkey-pem

5
lxc.md
View File

@ -42,7 +42,6 @@ lxc image alias list images: | grep -i debian
lxc image alias list images: | grep -i fedora lxc image alias list images: | grep -i fedora
``` ```
### Exposing container to the public: ### Exposing container to the public:
Todo, for now follow linked tutorial. Host it on your own. Todo, for now follow linked tutorial. Host it on your own.
@ -71,8 +70,8 @@ or read [this](https://ubuntu.com/tutorials/how-to-run-docker-inside-lxd-contain
### No ipv4 in container?? ### No ipv4 in container??
```bash ```bash
# for ipt in iptables iptables-legacy ip6tables ip6tables-legacy; do $ipt --flush; $ipt --flush -t nat; $ipt --delete-chain; $ipt --delete-chain -t nat; $ipt -P FORWARD ACCEPT; $ipt -P INPUT ACCEPT; $ipt -P OUTPUT ACCEPT; done for ipt in iptables iptables-legacy ip6tables ip6tables-legacy; do $ipt --flush; $ipt --flush -t nat; $ipt --delete-chain; $ipt --delete-chain -t nat; $ipt -P FORWARD ACCEPT; $ipt -P INPUT ACCEPT; $ipt -P OUTPUT ACCEPT; done
# systemctl reload snap.lxd.daemon systemctl restart --now snap.lxd.daemon
``` ```
read [this](https://discuss.linuxcontainers.org/t/containers-do-not-have-outgoing-internet-access/10844/4) article. read [this](https://discuss.linuxcontainers.org/t/containers-do-not-have-outgoing-internet-access/10844/4) article.