fix: was using incorrect config for he forwarding

This commit is contained in:
silver 2023-01-28 15:31:16 +00:00
parent ba2a8cd472
commit 1668db7390
5 changed files with 11 additions and 11 deletions

View file

@ -35,7 +35,7 @@ in {
# these two are to be able to add the rules for firewall and dns # these two are to be able to add the rules for firewall and dns
# open the firewall for this # open the firewall for this
skynet_firewall.forward = [ skynet_firewall.forward = [
"ip saddr ${ip_pub} udp dport 51820 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} udp dport 51820 counter packets 0 bytes 0 accept"
]; ];
skynet_dns.records = { skynet_dns.records = {

View file

@ -37,9 +37,9 @@ in {
# these two are to be able to add the rules for firewall and dns # these two are to be able to add the rules for firewall and dns
# open the firewall for this # open the firewall for this
skynet_firewall.forward = [ skynet_firewall.forward = [
"ip saddr ${ip_pub} tcp dport 80 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 80 counter packets 0 bytes 0 accept"
"ip saddr ${ip_pub} tcp dport 443 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 443 counter packets 0 bytes 0 accept"
"ip saddr ${ip_pub} tcp dport 8000 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 8000 counter packets 0 bytes 0 accept"
]; ];
skynet_dns.records = { skynet_dns.records = {

View file

@ -36,9 +36,9 @@ in {
# these two are to be able to add the rules for firewall and dns # these two are to be able to add the rules for firewall and dns
# open the firewall for this # open the firewall for this
skynet_firewall.forward = [ skynet_firewall.forward = [
"ip saddr ${ip_pub} tcp dport 80 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 80 counter packets 0 bytes 0 accept"
"ip saddr ${ip_pub} tcp dport 443 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 443 counter packets 0 bytes 0 accept"
"ip saddr ${ip_pub} tcp dport 25565 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 25565 counter packets 0 bytes 0 accept"
]; ];
skynet_dns.records = { skynet_dns.records = {

View file

@ -43,8 +43,8 @@ in {
# open the firewall for this # open the firewall for this
skynet_firewall.forward = [ skynet_firewall.forward = [
"ip saddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept"
"ip saddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept"
]; ];
skynet_dns = { skynet_dns = {

View file

@ -42,8 +42,8 @@ in {
# open the firewall for this # open the firewall for this
skynet_firewall.forward = [ skynet_firewall.forward = [
"ip saddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept"
"ip saddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept" "ip daddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept"
]; ];
skynet_dns = { skynet_dns = {