Going the Python way and adding config.json

This commit is contained in:
Louis Lacoste 2022-09-13 16:22:14 +02:00
parent ea9e66a8b2
commit 78d18f7e6e
3 changed files with 13 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
config.json

2
main.py Normal file
View file

@ -0,0 +1,2 @@
#!/usr/bin/python3
import miniupnpc

10
port-forwarder.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
# Checking if miniupnpc is installed
sudo apt update
sudo apt install -y miniupnpc
# Opening the ports