Skip to content

Commit

Permalink
Merge pull request #95 from sponnet/patch-1
Browse files Browse the repository at this point in the history
Update upnp_openports.sh
  • Loading branch information
eduadiez authored Dec 19, 2018
2 parents 74831a9 + 1a51821 commit 0dab418
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ See also the list of [contributors](https://github.com/dappnode/DNP_VPN/contribu

## License

This project is licensed under the GPLv3 License - see the [LICENSE](LICENSE) file for details
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details

## References

Expand Down
8 changes: 6 additions & 2 deletions build/src/upnp_openports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@
export IMAGE=$(docker inspect DAppNodeCore-vpn.dnp.dappnode.eth -f '{{.Config.Image}}')

# Delete UPnP Ports
## VPN
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 500 UDP
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 4500 UDP
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 22 TCP
## SSH
#docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 22 TCP
## Ethereum Node
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 30303 UDP
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 30303 TCP
## IPFS Node
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 4001 TCP
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -d 4002 UDP
# Open UPnP Ports
## VPN
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -r 500 UDP
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -r 4500 UDP
## SSH
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -r 22 TCP
#docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -r 22 TCP
## Ethereum Node
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -r 30303 UDP
docker run --rm --net=host ${IMAGE} upnpc -e DAppNode -r 30303 TCP
Expand Down
2 changes: 1 addition & 1 deletion dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vpn.dnp.dappnode.eth",
"version": "0.1.18",
"version": "0.1.19",
"description": "Dappnode package responsible for providing the VPN (L2TP/IPSec) connection",
"avatar": "/ipfs/QmWwMb3XhuCH6JnCF6m6EQzA4mW9pHHtg7rqAfhDr2ofi8",
"type": "dncore",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-vpn.yml → docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ volumes:
services:
vpn.dnp.dappnode.eth:
build: ./build
image: 'vpn.dnp.dappnode.eth:0.1.18'
image: 'vpn.dnp.dappnode.eth:0.1.19'
container_name: DAppNodeCore-vpn.dnp.dappnode.eth
privileged: true
restart: always
Expand Down

0 comments on commit 0dab418

Please sign in to comment.