# Chef behind a firewall

**URL:** <https://discourse.chef.io/t/chef-behind-a-firewall/1835>\
**Category:** Chef Infra (archive)\
**Created:** [May 17, 2011, 9:52am UTC](https://discourse.chef.io/t/chef-behind-a-firewall/1835 "2011-05-17T09:52:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franck\_Meignen](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@Franck\_Meignen](https://discourse.chef.io/u/Franck_Meignen)\
**Post date:** [May 17, 2011, 9:52am UTC](https://discourse.chef.io/t/chef-behind-a-firewall/1835/1 "2011-05-17T09:52:20Z")

</div>

```
Hi everyone,

I'm starting with chef, i've got my testing plateform, 10 clients in
a LAN and it works great.

I got a issue with a chef client, i tried to add a client, a
dedicated server outside my office, i make my firewall rules to open
the 4000 port.

I search in the doc and the wiki, i dont find any solution.

When i tried to add my external client, my internal plateform can
see it, but i got this error on my client :

INFO: HTTP Request Returned 500 Internal Server Error: 400 "Bad
Request"

[Fri, 13 May 2011 09:13:14 +0200] ERROR: Server returned error for
<a class="moz-txt-link-freetext" href="http://chef.test.xxx.org:4000/nodes/vserver-xxx.xxx.net">http://chef.test.xxx.org:4000/nodes/vserver-xxx.xxx.net</a>, retrying
3/5

I tried to remove and purge "chef paquets" on the client, delete
client's configuration on my chef plateform, i tried many times, it
always failed.

If anyone can help me.

Thanks for your help

Best regards

Franck
```
