# Go through proxy for only one port?

**URL:** <https://discourse.shadowsocks.org/t/go-through-proxy-for-only-one-port/1539>\
**Category:** ShadowsocksX-NG\
**Tags:** question\
**Created:** [February 7, 2024, 3:47pm UTC](https://discourse.shadowsocks.org/t/go-through-proxy-for-only-one-port/1539 "2024-02-07T15:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliviermarti](https://discourse.shadowsocks.org/user_avatar/discourse.shadowsocks.org/oliviermarti/32/273_2.png) [@oliviermarti](https://discourse.shadowsocks.org/u/oliviermarti)\
**Post date:** [February 7, 2024, 3:47pm UTC](https://discourse.shadowsocks.org/t/go-through-proxy-for-only-one-port/1539/1 "2024-02-07T15:47:29Z")

</div>

I create a socks tunnel with : `ssh -L 7186:<host>:7186 <login>@<host>`

I want chrome to use the proxy only for connection to `localhost:7186`.

And no other site or port.

Is there a way to have such a white list ?

Thanks,

Olivier
