pwnat 0.1-beta
pwnat, pronounced "poe-nat", is a tool that allows any number of clients behind NATs to communicate with a server behind a separate NAT with *no* port forwarding and *no* DMZ setup on any routers in order to directly communicate with each other. The server does not need to know anything about the clients trying to connect. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
26f26001c6
commit
25b1ba7c62
1 changed files with 19 additions and 0 deletions
19
Formula/pwnat.rb
Normal file
19
Formula/pwnat.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'formula'
|
||||
|
||||
class Pwnat <Formula
|
||||
url 'http://samy.pl/pwnat/pwnat-0.1-beta.tgz'
|
||||
homepage 'http://samy.pl/pwnat/'
|
||||
md5 'c0cf6e02c6497a0b8ae5f541a8a1e3d5'
|
||||
version '0.1-beta'
|
||||
|
||||
def install
|
||||
inreplace "Makefile" do |s|
|
||||
s.change_make_var! "CC", ENV.cc
|
||||
s.change_make_var! "CFLAGS", ENV['CFLAGS']
|
||||
s.change_make_var! "LDFLAGS", "-lz"
|
||||
end
|
||||
|
||||
system "make"
|
||||
bin.install "pwnat"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue