<commit_before># Simple Port Forwarding for BOSH
## Summary
This release was created for the express purpose of allowing me to easily (and repeatably) forward
any ports I want from bosh-lite via my manifest.

## TODO
- Add support for specifying different port mappings for multiple jobs in the manifest.

## Usage

To use this bosh release, first upload it to your bosh:

```
bosh target BOSH_HOST
git clone https://github.com/cloudfoundry-community/port-forwarding-boshrelease.git
cd port-forwarding-boshrelease
bosh upload release releases/port-forwarding-1.yml
```

Next, add the release to your manifest:

<pre>
<code>
releases:
- name: bosh
  version: 246
- name: bosh-warden-cpi
  version: 29
- name: garden-linux
  version: 0.330.0
<b>- name: port-forwarding</b>
<b>  version: latest</b>
</code>
</pre>

Simply add the "port_forwarding" template to your job as in this example:

```
jobs:
- name: bosh
  instances: 1
  resource_pool: default
  persistent_disk_pool: disks
  networks:
  - name: default
    static_ips: (( static_ips(0) ))
  templates:
  - {name: nats, release: bosh}
  - {name: redis, release: bosh}
  - {name: blobstore, release: bosh}
  - {name: postgres, release: bosh}
  - {name: director, release: bosh}
  - {name: health_monitor, release: bosh}
  - {name: warden_cpi, release: bosh-warden-cpi}
  - {name: garden, release: garden-linux}
  - {name: port_forwarding, release: port-forwarding}
```

Then, define the ports you would like to forward:

```
properties:
  port_forwarding:
    rules:
      - external_port: 9200
        internal_ip: 10.244.1.2
        internal_port: 9200
```<commit_msg>Bold the added template in the README<commit_after># Simple Port Forwarding for BOSH
## Summary
This release was created for the express purpose of allowing me to easily (and repeatably) forward
any ports I want from bosh-lite via my manifest.

## TODO
- Add support for specifying different port mappings for multiple jobs in the manifest.

## Usage

To use this bosh release, first upload it to your bosh:

```
bosh target BOSH_HOST
git clone https://github.com/cloudfoundry-community/port-forwarding-boshrelease.git
cd port-forwarding-boshrelease
bosh upload release releases/port-forwarding-1.yml
```

Next, add the release to your manifest:

<pre>
<code>
releases:
- name: bosh
  version: 246
- name: bosh-warden-cpi
  version: 29
- name: garden-linux
  version: 0.330.0
<b>- name: port-forwarding</b>
<b>  version: latest</b>
</code>
</pre>

Simply add the "port_forwarding" template to your job as in this example:

<pre>
<code>
jobs:
- name: bosh
  instances: 1
  resource_pool: default
  persistent_disk_pool: disks
  networks:
  - name: default
    static_ips: (( static_ips(0) ))
  templates:
  - {name: nats, release: bosh}
  - {name: redis, release: bosh}
  - {name: blobstore, release: bosh}
  - {name: postgres, release: bosh}
  - {name: director, release: bosh}
  - {name: health_monitor, release: bosh}
  - {name: warden_cpi, release: bosh-warden-cpi}
  - {name: garden, release: garden-linux}
<b>  - {name: port_forwarding, release: port-forwarding}</b>
</code>
</pre>

Then, define the ports you would like to forward:

```
properties:
  port_forwarding:
    rules:
      - external_port: 9200
        internal_ip: 10.244.1.2
        internal_port: 9200
```
{'fraction_non_alphanumeric': 0.11360193880642229, 'fraction_numerical': 0.016964556195092396, 'mean_word_length': 3.7994186046511627, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4054031', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1117, 'n_words': 373}