holepunch | Punch holes in your AWS security groups | AWS library
kandi X-RAY | holepunch Summary
kandi X-RAY | holepunch Summary
Punch holes in your AWS account security. holepunch is meant for times when you need to temporarily open ingress to an AWS security group, perhaps for development or testing remotely without a VPN set up. This is really bad practice, but holepunch will make sure that security group rules will be reverted when you are done. After running holepunch, just hit ^D to clear out the modified rules. You can also run holepunch only for the duration of a shell command with --command. By default, holepunch will refuse to remove rules that existed before it was run. This can be toggled with the --remove-existing flag.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Launch holepunch
- Builds the ingress permissions for a security group
- Parse port ranges
- Given a list of security groups find the matching security group name
- Returns a list of security groups matching the given criteria
- Get external IP address
- Applies the ingress rules to a security group
- Parse a CIDR expression
- Ask user for confirmation
holepunch Key Features
holepunch Examples and Code Snippets
holepunch foo_bar 22 --tcp
holepunch sg-62153838 443 --tcp
holepunch foo_bar 22 --command "ssh bastion"
holepunch foo_bar 22 80 8080-8081 --tcp
holepunch foo_bar --cidr=192.168.0.0/16 22 80
# Also works with IPv6 ranges
holepunch foo_bar --cidr=
Community Discussions
Trending Discussions on holepunch
QUESTION
I'm making a website that I wanted to be a white page that you could stamp to make another image appear under. So when you click, you make a holepunch. Like this exemple :
So I managed to have a randomized image in the background as I click which is fine for what I want, and to be able to .append()
the holepunches.
But I don't know how to do the mask thing I've been digging online for a few things and help, and managed to make it work in certain cases but not that one...
It should be like that (I guess) :
- image in the background
- white shape in front
- the star shape is making a holepunch in the white shape
For now, the only thing I managed to do is to have the picture besides a bigger holepunch (which is my original img) but when I click it doesn't make any holepunch, it justs add the stamp.
Here is the code :
...ANSWER
Answered 2020-Dec-06 at 14:32I would try to use canvas with white background and add a mouseclick event listener, which cuts out the canvas. I found another question on stack overflow what may can help you:
QUESTION
Recently I am working on a p2p application and i found out how to program UDP holepunching with c# using ICE and STUN protocols.
Its good but there is some limits for symmetric NATs and routers using symmetric NAT.\
I am looking for a way to connect two system over any NAT type .
Anyway I have tried UPNP and port forwarding too but due to firewall and router blacklist this option is out of my mind, if its your answer please describe how should I use this method correctly.
Thanks in advance.
...ANSWER
Answered 2020-Oct-09 at 07:22Upnp and NAT-PMP are quite useful for those routers which support these protocols, I haven't meet any problem like "firewall and router blacklist".
In circumstances that router doesn't support those protocols, ICE is what I use. As you said, symmetric NAT is a type that keeps highest security, and if the port increases randomly it is hard to punch a hole. Using a server as a relay (ICE can do it) is much easier than overcome random algorithm.
If you are interested in the source code of symmetric NAT, it is in some file like nf_nat_core.c, it's easy to trace and understand how it works.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install holepunch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page