|
Last change
on this file since 10612 was 10612, checked in by rick, 14 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 | |
|---|
| 1 | Remember to setup ipfw correctly.
|
|---|
| 2 |
|
|---|
| 3 | Sample 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 |
|
|---|
| 10 | ipfw add 10000 allow tcp from any to localhost 80
|
|---|
| 11 | ipfw add 10001 allow tcp from any to me 80
|
|---|
| 12 | ipfw 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.