Skip to content

Commit 8c677c9

Browse files
committed
init github-ci tests (#4)
1 parent 7f7736a commit 8c677c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ jobs:
4646
- name: Configuring NAT
4747
run: |
4848
sudo nft list ruleset
49-
sudo nft 'add chain inet filter output_dnat { type nat hook output priority -100; }'
50-
sudo nft 'add rule inet filter output_dnat meta l4proto tcp ip daddr 1.1.1.1 dnat to 127.0.0.1:4128'
51-
sudo nft 'add rule inet filter output_dnat meta l4proto tcp ip6 daddr 2606:4700:4700::1111 dnat to [::1]:4129'
49+
sudo nft 'add table inet test'
50+
sudo nft 'add chain inet test output_dnat { type nat hook output priority -100; }'
51+
sudo nft 'add rule inet test output_dnat meta l4proto tcp ip daddr 1.1.1.1 dnat to 127.0.0.1:4128'
52+
sudo nft 'add rule inet test output_dnat meta l4proto tcp ip6 daddr 2606:4700:4700::1111 dnat to [::1]:4129'
5253
5354
- name: Run tests
5455
run: |

0 commit comments

Comments
 (0)