source: hybrid/branches/releng-9.0/nanobsd/ports/net/transproxy/pkg-message@ 10631

Last change on this file since 10631 was 10612, checked in by rick, 13 years ago

Make port building whole bunch more stupid:

1) Bundle ports in the tree itself, instead of global shared banch.
2) Copy the local ports just in the /usr/ports tree to allow playing around

with just the ordenary tools.

File size: 398 bytes
Line 
1Remember to setup ipfw correctly.
2
3Sample below, uses following options:
4 Localip 172.19.152.65/26
5 Localnet 172.16.0.0/12
6 Transparant proxy enabled for all NOT localnet destinations 80
7 transproxy running at port 8081
8
9
10ipfw add 10000 allow tcp from any to localhost 80
11ipfw add 10001 allow tcp from any to me 80
12ipfw add 10010 fwd 172.19.152.65,8081 tcp from any to no 172.16.0.0/12 80
Note: See TracBrowser for help on using the repository browser.