fix: was using incorrect config for he forwarding
This commit is contained in:
parent
ba2a8cd472
commit
1668db7390
5 changed files with 11 additions and 11 deletions
|
@ -35,7 +35,7 @@ in {
|
|||
# these two are to be able to add the rules for firewall and dns
|
||||
# open the firewall for this
|
||||
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 = {
|
||||
|
|
|
@ -37,9 +37,9 @@ in {
|
|||
# these two are to be able to add the rules for firewall and dns
|
||||
# open the firewall for this
|
||||
skynet_firewall.forward = [
|
||||
"ip saddr ${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 saddr ${ip_pub} tcp dport 8000 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} tcp dport 80 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} tcp dport 443 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} tcp dport 8000 counter packets 0 bytes 0 accept"
|
||||
];
|
||||
|
||||
skynet_dns.records = {
|
||||
|
|
|
@ -36,9 +36,9 @@ in {
|
|||
# these two are to be able to add the rules for firewall and dns
|
||||
# open the firewall for this
|
||||
skynet_firewall.forward = [
|
||||
"ip saddr ${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 saddr ${ip_pub} tcp dport 25565 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} tcp dport 80 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} tcp dport 443 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} tcp dport 25565 counter packets 0 bytes 0 accept"
|
||||
];
|
||||
|
||||
skynet_dns.records = {
|
||||
|
|
|
@ -43,8 +43,8 @@ in {
|
|||
|
||||
# open the firewall for this
|
||||
skynet_firewall.forward = [
|
||||
"ip saddr ${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} tcp dport 53 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept"
|
||||
];
|
||||
|
||||
skynet_dns = {
|
||||
|
|
|
@ -42,8 +42,8 @@ in {
|
|||
|
||||
# open the firewall for this
|
||||
skynet_firewall.forward = [
|
||||
"ip saddr ${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} tcp dport 53 counter packets 0 bytes 0 accept"
|
||||
"ip daddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept"
|
||||
];
|
||||
|
||||
skynet_dns = {
|
||||
|
|
Loading…
Reference in a new issue