Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Use a SOCKS server as an interface or gateway?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Use a SOCKS server as an interface or gateway? (Read 2760 times)
DavidGA
Newbie
Posts: 6
Karma: 0
Use a SOCKS server as an interface or gateway?
«
on:
May 17, 2023, 05:23:50 am »
If I have access to a SOCKS proxy, is there any way to make this proxy appear as an interface or gateway on my opnsense router, so that I can create rules to direct traffic to it?
Logged
zan
Full Member
Posts: 175
Karma: 31
Re: Use a SOCKS server as an interface or gateway?
«
Reply #1 on:
May 17, 2023, 09:22:21 am »
SOCKS proxy is Layer 5(application), you need a Layer 3 tunnel that uses SOCKS protocol to route all traffic.
OPNsense does not have such tunnel.
There are some SOCKS tunnel programs able to create tun interface (eg: tun2sock, ss-redir etc) that you might be able to install and run, but you won't be able to use OPNsense to manage.
Unless you are willing to do everything manually, I'd suggest to forget about it.
Edit: I just checked os-shadowsocks plugin, sadly it only has ss-local and ss-server, no ss-redir.
«
Last Edit: May 17, 2023, 09:44:24 am by zan
»
Logged
DavidGA
Newbie
Posts: 6
Karma: 0
Re: Use a SOCKS server as an interface or gateway?
«
Reply #2 on:
May 18, 2023, 09:27:27 pm »
Thanks for your help.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Use a SOCKS server as an interface or gateway?