please_lemmy_out, 11 months ago (edited 11 months ago) Are you using OpenVPN or Wireguard configs? For Wireguard I had to slightly modify the commands to open a port to: natpmpc -g 10.2.0.1 -a 0 0 tcp 60 natpmpc -g 10.2.0.1 -a 0 0 udp 60 while true ; do date ; natpmpc -g 10.2.0.1 -a 0 0 tcp 60 && natpmpc -g 10.2.0.1 -a 0 0 udp 60 || { echo -e "ERROR with natpmpc command \a" ; break ; } ; sleep 45 ; done
Are you using OpenVPN or Wireguard configs?
For Wireguard I had to slightly modify the commands to open a port to:
natpmpc -g 10.2.0.1 -a 0 0 tcp 60
natpmpc -g 10.2.0.1 -a 0 0 udp 60
while true ; do date ; natpmpc -g 10.2.0.1 -a 0 0 tcp 60 && natpmpc -g 10.2.0.1 -a 0 0 udp 60 || { echo -e "ERROR with natpmpc command \a" ; break ; } ; sleep 45 ; done