Skip to content

Commit

Permalink
updated natpmpc port mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
clajiness committed Aug 8, 2024
1 parent 538dd37 commit 259dfa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/proton.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Service
class Proton
def proton_natpmpc(proton_gateway)
`timeout 5 natpmpc -g #{proton_gateway} -a 0 0 udp 60 && natpmpc -g #{proton_gateway} -a 0 0 tcp 60`
`timeout 5 natpmpc -a 1 0 udp 60 -g #{proton_gateway} && natpmpc -a 1 0 tcp 60 -g #{proton_gateway}`
end

def parse_proton_response(proton_response)
Expand Down
2 changes: 1 addition & 1 deletion version.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
version: 0.2.0
version: 0.3.0

0 comments on commit 259dfa0

Please sign in to comment.